QTfrontend/ui/page/pagetraining.cpp
branchwebgl
changeset 9127 e350500c4edb
parent 9080 9b42757d7e71
child 9998 736015b847e3
--- a/QTfrontend/ui/page/pagetraining.cpp	Thu Apr 04 14:37:19 2013 +0200
+++ b/QTfrontend/ui/page/pagetraining.cpp	Tue Jun 04 22:28:12 2013 +0200
@@ -1,6 +1,6 @@
 /*
  * Hedgewars, a free turn based strategy game
- * Copyright (c) 2004-2012 Andrey Korotaev <unC0Rr@gmail.com>
+ * Copyright (c) 2004-2013 Andrey Korotaev <unC0Rr@gmail.com>
  *
  * This program is free software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
@@ -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();