changeset 1462:f5180edc5dda 3.0-integration

Merge
author Chris Cannam <cannam@all-day-breakfast.com>
date Tue, 03 Jan 2017 14:34:46 +0000
parents 0a145f215a45 (diff) 8ca62b402846 (current diff)
children f5c828d1f3e2
files main/MainWindow.cpp
diffstat 1 files changed, 6 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/main/MainWindow.cpp	Tue Jan 03 14:36:31 2017 +0000
+++ b/main/MainWindow.cpp	Tue Jan 03 14:34:46 2017 +0000
@@ -279,6 +279,12 @@
 
     frame->setLayout(layout);
 
+#ifdef Q_OS_MAC
+    // Mac doesn't align menu labels when icons are shown: result is messy
+    QApplication::setAttribute(Qt::AA_DontShowIconsInMenus);
+    setIconsVisibleInMenus(false);
+#endif
+
     setupMenus();
     setupToolbars();
     setupHelpMenu();