Removed unnecessary call to AboutToShowViewMenu() -> Increase constness of MainWindow::SaveSettings()
This commit is contained in:
parent
7c8f6173c1
commit
10d338d4a7
|
@ -256,11 +256,8 @@ void MainWindow::LoadSettings()
|
|||
|
||||
}
|
||||
|
||||
void MainWindow::SaveSettings()
|
||||
void MainWindow::SaveSettings() const
|
||||
{
|
||||
//Force toolbar checkbox value to be updated
|
||||
AboutToShowViewMenu();
|
||||
|
||||
// Window/dialog sizes
|
||||
mSettings->setValue(SETTINGS_WINDOW_WIDTH, size().width());
|
||||
mSettings->setValue(SETTINGS_WINDOW_HEIGHT, size().height());
|
||||
|
|
|
@ -364,7 +364,7 @@ private:
|
|||
* @brief Save program settings
|
||||
*
|
||||
*/
|
||||
void SaveSettings();
|
||||
void SaveSettings() const;
|
||||
|
||||
/**
|
||||
* @brief Format main window title.
|
||||
|
|
Loading…
Reference in New Issue