From b73b39f3c638a93930f87c2e2caa0808b88aa511 Mon Sep 17 00:00:00 2001 From: scrawl Date: Wed, 27 Jun 2012 00:55:25 +0200 Subject: [PATCH] launcher bugfix, settings was not written when "Play" was selected --- apps/launcher/maindialog.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/apps/launcher/maindialog.cpp b/apps/launcher/maindialog.cpp index ed67eb3b5..f7dafd3af 100644 --- a/apps/launcher/maindialog.cpp +++ b/apps/launcher/maindialog.cpp @@ -240,6 +240,10 @@ void MainDialog::play() mDataFilesPage->writeConfig(); mGraphicsPage->writeConfig(); + // Save user settings + const std::string settingspath = (mCfgMgr.getUserPath() / "settings.cfg").string(); + mSettings.saveUser(settingspath); + #ifdef Q_WS_WIN QString game = "./openmw.exe"; QFile file(game);