X-Git-Url: https://git.quassel-irc.org/?a=blobdiff_plain;f=src%2Fcommon%2Fsettings.cpp;h=d6ebb806f39c76c1af2aebc6d955e6cc1d3be728;hb=e561e02a8d2f1f009559d17c7b1c66cb6f4e2a5a;hp=5224560ef715cae8af75ee4d902d493a83ac3297;hpb=cf28e7152c5d940aec586be1b29fbf8ddc99f087;p=quassel.git diff --git a/src/common/settings.cpp b/src/common/settings.cpp index 5224560e..d6ebb806 100644 --- a/src/common/settings.cpp +++ b/src/common/settings.cpp @@ -1,5 +1,5 @@ /*************************************************************************** - * Copyright (C) 2005-07 by the Quassel IRC Team * + * Copyright (C) 2005-08 by the Quassel Project * * devel@quassel-irc.org * * * * This program is free software; you can redistribute it and/or modify * @@ -29,7 +29,15 @@ #include "settings.h" -Settings::Settings(QString g, QString applicationName) : QSettings(QCoreApplication::organizationName(), applicationName), group(g) { +Settings::Settings(QString g, QString applicationName) + +#ifdef Q_WS_MAC + : QSettings(QCoreApplication::organizationDomain(), applicationName), +#else + : QSettings(QCoreApplication::organizationName(), applicationName), +#endif + group(g) +{ /* we need to call the constructor immediately in order to set the path... #ifndef Q_WS_QWS