From 224d7f27b098b6e84871ba2b69f45a72c9d62ae5 Mon Sep 17 00:00:00 2001 From: Nikolay Kasyanov Date: Tue, 1 Nov 2016 21:19:27 +0100 Subject: [PATCH] Revert "Use local path from configuration manager to load openmw.cfg in launcher" 89e85a6acf459d2a33b2bc551369d50f7258ed9f --- apps/launcher/maindialog.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/apps/launcher/maindialog.cpp b/apps/launcher/maindialog.cpp index 15a1a5c2a..f2ec62939 100644 --- a/apps/launcher/maindialog.cpp +++ b/apps/launcher/maindialog.cpp @@ -293,7 +293,6 @@ bool Launcher::MainDialog::setupGameSettings() { mGameSettings.clear(); - QString localPath = QString::fromUtf8(mCfgMgr.getLocalPath().string().c_str()); QString userPath = QString::fromUtf8(mCfgMgr.getUserConfigPath().string().c_str()); QString globalPath = QString::fromUtf8(mCfgMgr.getGlobalPath().string().c_str()); @@ -321,7 +320,7 @@ bool Launcher::MainDialog::setupGameSettings() // Now the rest - priority: user > local > global QStringList paths; paths.append(globalPath + QString("openmw.cfg")); - paths.append(localPath + QString("openmw.cfg")); + paths.append(QString("openmw.cfg")); paths.append(userPath + QString("openmw.cfg")); foreach (const QString &path, paths) {