--- a/QTfrontend/campaign.cpp Fri Mar 23 03:37:07 2018 +0100
+++ b/QTfrontend/campaign.cpp Sat Mar 24 00:26:39 2018 +0100
@@ -88,9 +88,7 @@
// get locale
QSettings settings(dataMgr.settingsFileName(),
QSettings::IniFormat);
- QString loc = settings.value("misc/locale", "").toString();
- if (loc.isEmpty())
- loc = QLocale::system().name();
+ QString loc = QLocale().name();
QString campaignDescFile = QString("physfs://Locale/campaigns_" + loc + ".txt");
// if file is non-existant try with language only
if (!QFile::exists(campaignDescFile))