X-Git-Url: https://git.quassel-irc.org/?a=blobdiff_plain;f=src%2Fcommon%2Fsettings.cpp;h=b337184feafa24e5c22dc01b40dec78326175ce4;hb=eaa92c3648f551569e504971ebc75021a7e3e720;hp=b5ca9167ca4e70c6a19d28603fb6c6ad425743e1;hpb=ec17201104f75eafaddccc174de8709b42b15ccb;p=quassel.git diff --git a/src/common/settings.cpp b/src/common/settings.cpp index b5ca9167..b337184f 100644 --- a/src/common/settings.cpp +++ b/src/common/settings.cpp @@ -38,16 +38,14 @@ Settings::Settings(QString g) : group(g) { //if(Qtopia::sandboxDir().isEmpty()) QSettings(); //else QSettings(Qtopia::sandboxDir() + "/etc/QuasselIRC.conf", QSettings::NativeFormat); // ...so we have to use a workaround: - /* QString appPath = QCoreApplication::applicationFilePath(); if(appPath.startsWith(Qtopia::packagePath())) { QString sandboxPath = appPath.left(Qtopia::packagePath().length() + 32); QSettings(sandboxPath + "/etc/QuasselIRC.conf", QSettings::IniFormat); + qDebug() << sandboxPath + "/etc/QuasselIRC.conf"; } else { QSettings(); } - */ - QSettings(); #endif }