--- 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();