QTfrontend/util/DataManager.cpp
changeset 13284 b504131f7405
parent 12295 ac57d564efce
child 14553 e1ae6d8e84b0
--- a/QTfrontend/util/DataManager.cpp	Tue Mar 27 04:39:31 2018 +0200
+++ b/QTfrontend/util/DataManager.cpp	Tue Mar 27 17:32:23 2018 +0200
@@ -172,11 +172,11 @@
 {
     if(m_settingsFileName.isEmpty())
     {
-        QFile settingsFile("physfs://settings.ini");
+        QFile settingsFile(cfgdir->absoluteFilePath("settings.ini"));
 
         if(!settingsFile.exists())
         {
-            QFile oldSettingsFile("physfs://hedgewars.ini");
+            QFile oldSettingsFile(cfgdir->absoluteFilePath("hedgewars.ini"));
 
             settingsFile.open(QFile::WriteOnly);
             settingsFile.close();