launcher bugfix, settings was not written when "Play" was selected

This commit is contained in:
scrawl 2012-06-27 00:55:25 +02:00
parent c37b14f5f7
commit b73b39f3c6

View file

@ -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);