improved dark theme handling on mupp for qt5.
This commit is contained in:
@@ -212,13 +212,13 @@ bool PmuppAdminXMLParser::characters()
|
||||
fAdmin->setIgnoreThemeAutoDetection(false);
|
||||
break;
|
||||
case eDarkThemeIconsMenu:
|
||||
if ((str == "yes") || (str == "1") || (str == "true"))
|
||||
if ((str == "yes") || (str == "y") || (str == "1") || (str == "true"))
|
||||
fAdmin->setThemeIconsMenu(true);
|
||||
else
|
||||
fAdmin->setThemeIconsMenu(false);
|
||||
break;
|
||||
case eDarkThemeIconsToolbar:
|
||||
if ((str == "yes") || (str == "1") || (str == "true"))
|
||||
if ((str == "yes") || (str == "y") || (str == "1") || (str == "true"))
|
||||
fAdmin->setThemeIconsToolbar(true);
|
||||
else
|
||||
fAdmin->setThemeIconsToolbar(false);
|
||||
|
||||
Reference in New Issue
Block a user