QTfrontend/main.cpp
changeset 8098 4efee370e2de
parent 8078 ea7541f77944
child 8117 329d9756b57c
--- a/QTfrontend/main.cpp	Thu Nov 22 02:15:23 2012 +0100
+++ b/QTfrontend/main.cpp	Thu Nov 22 15:24:10 2012 +0400
@@ -228,13 +228,14 @@
     // setup PhysFS
     engine.mount(datadir->absolutePath());
     engine.mount(cfgdir->absolutePath() + "/Data");
-    engine.mount(cfgdir->absolutePath(), "/config");
+    engine.mount(cfgdir->absolutePath());
     engine.setWriteDir(cfgdir->absolutePath());
     engine.mountPacks();
+    qDebug() << datadir->absolutePath();
 
     QTranslator Translator;
     {
-        QSettings settings("physfs://config/hedgewars.ini", QSettings::IniFormat);
+        QSettings settings("physfs://hedgewars.ini", QSettings::IniFormat);
         QString cc = settings.value("misc/locale", QString()).toString();
         if(cc.isEmpty())
             cc = QLocale::system().name();