QTfrontend/main.cpp
branchphysfslayer
changeset 7955 85b3970b402a
parent 7931 5a27ed7f17b7
child 8049 133e22b5c410
--- a/QTfrontend/main.cpp	Mon Nov 05 00:32:41 2012 +0400
+++ b/QTfrontend/main.cpp	Mon Nov 05 23:03:01 2012 +0400
@@ -224,14 +224,14 @@
     // setup PhysFS
     engine.mount(datadir->absolutePath());
     engine.mount(cfgdir->absolutePath() + "/Data");
-    engine.mount(cfgdir->absolutePath());
+    engine.mount(cfgdir->absolutePath(), "/config");
     engine.setWriteDir(cfgdir->absolutePath());
 
     DataManager & dataMgr = DataManager::instance();
 
     QTranslator Translator;
     {
-        QSettings settings("physfs://hedgewars.ini", QSettings::IniFormat);
+        QSettings settings("physfs://config/hedgewars.ini", QSettings::IniFormat);
         QString cc = settings.value("misc/locale", QString()).toString();
         if(cc.isEmpty())
             cc = QLocale::system().name();