QTfrontend/ui/page/pagetraining.cpp
changeset 13279 e381f5260b45
parent 13092 b6df6283e2ba
child 13637 4c49a4944884
--- a/QTfrontend/ui/page/pagetraining.cpp	Fri Mar 23 03:37:07 2018 +0100
+++ b/QTfrontend/ui/page/pagetraining.cpp	Sat Mar 24 00:26:39 2018 +0100
@@ -157,9 +157,7 @@
     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 infoFile = QString("physfs://Locale/missions_" + loc + ".txt");