[Pkg-owncloud-commits] [owncloud-client] 03/21: Config: Use monochrome icons per default on MacOSX.
Sandro Knauß
hefee-guest at moszumanska.debian.org
Fri Oct 23 17:42:35 UTC 2015
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 546cab3f6202393f58088b5edc7fa6d3fb538a44
Author: Klaas Freitag <freitag at owncloud.com>
Date: Fri Oct 16 18:55:07 2015 +0200
Config: Use monochrome icons per default on MacOSX.
---
src/libsync/configfile.cpp | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/src/libsync/configfile.cpp b/src/libsync/configfile.cpp
index 2917be1..48bab53 100644
--- a/src/libsync/configfile.cpp
+++ b/src/libsync/configfile.cpp
@@ -588,7 +588,11 @@ void ConfigFile::setNewBigFolderSizeLimit(bool isChecked, quint64 mbytes)
bool ConfigFile::monoIcons() const
{
QSettings settings(configFile(), QSettings::IniFormat);
- return settings.value(QLatin1String(monoIconsC), false).toBool();
+ bool deflt = false;
+ if( Utility::isMac() ) {
+ deflt = true;
+ }
+ return settings.value(QLatin1String(monoIconsC), deflt).toBool();
}
void ConfigFile::setMonoIcons(bool useMonoIcons)
--
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