[Pkg-owncloud-commits] [owncloud-client] 29/47: OS X: Read system-wide plist in /Library

Sandro Knauß hefee-guest at moszumanska.debian.org
Mon Feb 17 18:06:34 UTC 2014


This is an automated email from the git hooks/post-receive script.

hefee-guest pushed a commit to branch master
in repository owncloud-client.

commit 8b9cd432b52c25003c162b8e3cdcb527815323d7
Author: Markus Goetz <markus at woboq.com>
Date:   Thu Feb 13 12:52:57 2014 +0100

    OS X: Read system-wide plist in /Library
    
    Needed for http://doc.owncloud.org/desktop/1.5/autoupdate.html#preventing-auto-updates
---
 src/mirall/mirallconfigfile.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/mirall/mirallconfigfile.cpp b/src/mirall/mirallconfigfile.cpp
index 9460195..c2b3428 100644
--- a/src/mirall/mirallconfigfile.cpp
+++ b/src/mirall/mirallconfigfile.cpp
@@ -404,7 +404,7 @@ QVariant MirallConfigFile::getValue(const QString& param, const QString& group,
     QVariant systemSetting;
     qDebug() << Q_FUNC_INFO;
     if (Utility::isMac()) {
-            QSettings systemSettings(QSettings::NativeFormat, QSettings::SystemScope, QCoreApplication::organizationName());
+            QSettings systemSettings(QLatin1String("/Library/Preferences/" APPLICATION_REV_DOMAIN ".plist"), QSettings::NativeFormat);
             if (!group.isEmpty()) {
                 systemSettings.beginGroup(group);
             }

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-owncloud/owncloud-client.git



More information about the Pkg-owncloud-commits mailing list