Commit 6c006c9c authored by Andrei Kortunov's avatar Andrei Kortunov Committed by GitHub

Merge pull request #2516 from Capostrophic/launcher

Launcher: Avoid Qt "opening user openmw.cfg twice" warning
parents 2e05e0e8 9788a776
Pipeline #81488895 passed with stage
......@@ -329,6 +329,7 @@ bool Launcher::MainDialog::setupGameSettings()
stream.setCodec(QTextCodec::codecForName("UTF-8"));
mGameSettings.readUserFile(stream);
file.close();
}
// Now the rest - priority: user > local > global
......@@ -353,8 +354,8 @@ bool Launcher::MainDialog::setupGameSettings()
stream.setCodec(QTextCodec::codecForName("UTF-8"));
mGameSettings.readFile(stream);
file.close();
}
file.close();
}
return true;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment