Fix display of "Monochrome icon" setting

The logic was inverse, and there was a typo in the string. Oh my...
This commit is contained in:
Daniel Molkentin 2013-08-31 14:13:25 +02:00
parent 1b69dbb38b
commit ab4c6247c7

View file

@ -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());
}