mirror of
https://github.com/nextcloud/desktop.git
synced 2024-11-26 23:28:14 +03:00
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:
parent
1b69dbb38b
commit
ab4c6247c7
1 changed files with 2 additions and 5 deletions
|
@ -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());
|
||||
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue