From 96b2b2a50995f85c1d4740ffd520e0963f0a0c54 Mon Sep 17 00:00:00 2001 From: Kevin Ottens Date: Wed, 20 Jan 2021 15:16:13 +0100 Subject: [PATCH] Revert "Make monochrome icons the default on Linux and Mac OS." This reverts commit 016410dbaad9cfa85209d6424dc2df9362a80a17. Signed-off-by: Kevin Ottens --- src/libsync/configfile.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/libsync/configfile.cpp b/src/libsync/configfile.cpp index be877e712..bc4ab69b4 100644 --- a/src/libsync/configfile.cpp +++ b/src/libsync/configfile.cpp @@ -896,10 +896,10 @@ void ConfigFile::setPromptDeleteFiles(bool promptDeleteFiles) bool ConfigFile::monoIcons() const { QSettings settings(configFile(), QSettings::IniFormat); - // On Mac and Linux we want bw by default - bool monoDefault = QByteArrayLiteral("Nextcloud") == QByteArrayLiteral(APPLICATION_NAME); -#ifdef Q_OS_WIN - monoDefault = false; + bool monoDefault = false; // On Mac we want bw by default +#ifdef Q_OS_MAC + // OEM themes are not obliged to ship mono icons + monoDefault = (0 == (strcmp("ownCloud", APPLICATION_NAME))); #endif return settings.value(QLatin1String(monoIconsC), monoDefault).toBool(); } -- 2.30.2