Disable icons in menus if we read a css file. This fixes the odd looking border that is drawn around these in KDe4 builds (and Qt5?)

This commit is contained in:
craig.p.drummond
2013-04-25 09:48:01 +00:00
committed by craig.p.drummond
parent d487aa3344
commit 1eac3d0f5e

View File

@@ -203,6 +203,7 @@ void GtkStyle::applyTheme(QWidget *widget)
#endif
symbolicIcons=header.contains("symbolic-icons:true");
lightIcons=header.contains("light-icons:true");
QCoreApplication::setAttribute(Qt::AA_DontShowIconsInMenus);
}
}
if (!style) {