aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2014-11-18 06:05:35 +0000
committerGravatar Dirk Hohndel <dirk@hohndel.org>2014-11-18 06:08:00 +0000
commite157f6220f4a6b8b0d38f0393d33ca1b6fe67c3c (patch)
treeb94c9c43b798ac2351ac480518fd6ab4ecd24e23
parentd9e8669abe0901604c3fe11c6f6e6592dd7ee20d (diff)
downloadsubsurface-e157f6220f4a6b8b0d38f0393d33ca1b6fe67c3c.tar.gz
Don't use DC configuration menu item as preference dialog on Mac
Qt by default uses a rather simplistic text heuristic to figure out if a menu entry is one of the special ones that need to be moved into the application menu (About, Preferences, Quit - but for Preferences anything that matches settings, options, config is used as well). This patch tells Qt to keep its hands off the the DC configuration entry in the menu. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
-rw-r--r--qt-ui/mainwindow.ui3
1 files changed, 3 insertions, 0 deletions
diff --git a/qt-ui/mainwindow.ui b/qt-ui/mainwindow.ui
index 5dfde4fb9..6d857a834 100644
--- a/qt-ui/mainwindow.ui
+++ b/qt-ui/mainwindow.ui
@@ -637,6 +637,9 @@ p, li { white-space: pre-wrap; }
<property name="shortcut">
<string>Ctrl+Shift+C</string>
</property>
+ <property name="menuRole">
+ <enum>QAction::NoRole</enum>
+ </property>
</action>
<action name="actionReplanDive">
<property name="text">