Permalink
Browse files

Qt/MainWindow: Call Config::Save last before destruction

  • Loading branch information...
spycrab committed May 10, 2018
1 parent 7b0d779 commit e380df2e59a73007b618e82969e92ea9e9226176
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 e380df2

Please sign in to comment.