From 964d6a5e42167c76e8eea5275c37c1764501db17 Mon Sep 17 00:00:00 2001 From: Peter Hedlund Date: Thu, 29 Jun 2017 18:54:00 -0700 Subject: [PATCH] Don't show icons in menus on Mac. --- src/main.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/main.cpp b/src/main.cpp index 9a94849c2..32739ccf7 100755 --- a/src/main.cpp +++ b/src/main.cpp @@ -83,6 +83,9 @@ int main(int argc, char *argv[]) { QApplication::setAttribute(Qt::AA_UseHighDpiPixmaps); QApplication::setAttribute(Qt::AA_EnableHighDpiScaling); +#ifdef Q_OS_MAC + QApplication::setAttribute(Qt::AA_DontShowIconsInMenus); +#endif // Register needed metatypes. qRegisterMetaType >("QList");