--- a/src/config.cc Fri Jan 10 03:36:21 2014 +0200 +++ b/src/config.cc Fri Jan 10 11:09:38 2014 +0200 @@ -48,12 +48,7 @@ // ----------------------------------------------------------------------------- static QSettings* getSettingsObject() { - QString path = getApplicationDirectory() + DIRSLASH UNIXNAME EXTENSION; - -#if DIRSLASH_CHAR != '/' - path.replace (DIRSLASH, "/"); -#endif - + QString path = qApp->applicationDirPath() + "/" UNIXNAME EXTENSION; return new QSettings (path, QSettings::IniFormat); }