Merge pull request #6802 from Neui/qt-remember-main-window-position-and-size Qt: Save and restore main window size and position