activate icon display in menus
authorsheepluva
Sun, 30 Jan 2011 20:04:34 +0100
changeset 4888 3c96e99468c5
parent 4887 39f300fdbc64
child 4889 f71e30eb1d37
activate icon display in menus (menu icons are not displayed in qt by default in newer version)
QTfrontend/main.cpp
--- a/QTfrontend/main.cpp	Sun Jan 30 21:33:39 2011 +0300
+++ b/QTfrontend/main.cpp	Sun Jan 30 20:04:34 2011 +0100
@@ -49,6 +49,7 @@
 
 int main(int argc, char *argv[]) {
     QApplication app(argc, argv);
+    app.setAttribute(Qt::AA_DontShowIconsInMenus,false);
 
     QStringList arguments = app.arguments();
     QMap<QString, QString> parsedArgs;