QTfrontend/ui/page/pagetraining.cpp
changeset 8098 4efee370e2de
parent 8049 133e22b5c410
child 8918 512753ea4b1b
--- a/QTfrontend/ui/page/pagetraining.cpp	Thu Nov 22 02:15:23 2012 +0100
+++ b/QTfrontend/ui/page/pagetraining.cpp	Thu Nov 22 15:24:10 2012 +0400
@@ -118,7 +118,7 @@
     DataManager & dataMgr = DataManager::instance();
 
     // get locale
-    QSettings settings(cfgdir->absolutePath() + "/hedgewars.ini",
+    QSettings settings("physfs://hedgewars.ini",
                        QSettings::IniFormat);
 
     QString loc = settings.value("misc/locale", "").toString();