From: Kevin Ottens Date: Wed, 20 Jan 2021 14:16:59 +0000 (+0100) Subject: Fix the branding detection for monochrome icons on Mac X-Git-Tag: archive/raspbian/3.16.7-1_deb13u1+rpi1~1^2~12^2~21^2~412^2 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=48f0c54a90d9e01006c72be6690c8b2cbd8b1d96;p=nextcloud-desktop.git Fix the branding detection for monochrome icons on Mac Signed-off-by: Kevin Ottens --- diff --git a/src/libsync/configfile.cpp b/src/libsync/configfile.cpp index bc4ab69b4..571c76ccc 100644 --- a/src/libsync/configfile.cpp +++ b/src/libsync/configfile.cpp @@ -899,7 +899,7 @@ bool ConfigFile::monoIcons() const 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))); + monoDefault = QByteArrayLiteral("Nextcloud") == QByteArrayLiteral(APPLICATION_NAME); #endif return settings.value(QLatin1String(monoIconsC), monoDefault).toBool(); }