QTfrontend/ui/page/pagetraining.cpp
changeset 8918 512753ea4b1b
parent 8098 4efee370e2de
child 9080 9b42757d7e71
--- a/QTfrontend/ui/page/pagetraining.cpp	Wed Apr 17 11:24:06 2013 -0400
+++ b/QTfrontend/ui/page/pagetraining.cpp	Thu Apr 18 00:41:27 2013 +0400
@@ -118,7 +118,7 @@
     DataManager & dataMgr = DataManager::instance();
 
     // get locale
-    QSettings settings("physfs://hedgewars.ini",
+    QSettings settings(dataMgr.settingsFileName(),
                        QSettings::IniFormat);
 
     QString loc = settings.value("misc/locale", "").toString();