Permalink
Browse files

Merge pull request #6799 from spycrab/qt_config_save

Qt/MainWindow: Call Config::Save last before destruction
  • Loading branch information...
spycrab committed May 10, 2018
2 parents 7b0d779 + e380df2 commit 060c750a892eb71e0ac4bc2f81f088b279906912
Showing with 2 additions and 2 deletions.
  1. +2 −2 Source/Core/DolphinQt2/MainWindow.cpp
@@ -125,8 +125,6 @@ MainWindow::~MainWindow()
m_render_widget->deleteLater();
ShutdownControllers();
Config::Save();
QSettings& settings = Settings::GetQSettings();
settings.setValue(QStringLiteral("mainwindow/state"), saveState());
@@ -136,6 +134,8 @@ MainWindow::~MainWindow()
SConfig::GetInstance().iRenderWindowXPos = m_render_widget_position.x();
SConfig::GetInstance().iRenderWindowYPos = m_render_widget_position.y();
Config::Save();
}
void MainWindow::InitControllers()

0 comments on commit 060c750

Please sign in to comment.