From ab4c6247c7cbfcf587afc45660b140fd376e498a Mon Sep 17 00:00:00 2001 From: Daniel Molkentin Date: Sat, 31 Aug 2013 14:13:25 +0200 Subject: [PATCH] Fix display of "Monochrome icon" setting The logic was inverse, and there was a typo in the string. Oh my... --- src/mirall/generalsettings.cpp | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/src/mirall/generalsettings.cpp b/src/mirall/generalsettings.cpp index 05912604f..83d43864d 100644 --- a/src/mirall/generalsettings.cpp +++ b/src/mirall/generalsettings.cpp @@ -53,12 +53,9 @@ GeneralSettings::GeneralSettings(QWidget *parent) : // OEM themes are not obliged to ship mono icons, so there // is no point in offering an option - QString themeDir = QString::fromLatin1(":/mirall/theme/1%1/") + QString themeDir = QString::fromLatin1(":/mirall/theme/%1/") .arg(Theme::instance()->systrayIconFlavor(true)); - if (QDir(themeDir).exists()) - { - _ui->monoIconsCheckBox->setVisible(false); - } + _ui->monoIconsCheckBox->setVisible(QDir(themeDir).exists()); }