QTfrontend/ui/page/pagetraining.cpp
branchwebgl
changeset 8330 aaefa587e277
parent 8098 4efee370e2de
child 8918 512753ea4b1b
--- a/QTfrontend/ui/page/pagetraining.cpp	Sun Dec 02 00:03:16 2012 +0100
+++ b/QTfrontend/ui/page/pagetraining.cpp	Tue Dec 25 04:45:22 2012 +0100
@@ -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();