From 53f38a24108d09dccbee37faf3bcdcb9750bbc87 Mon Sep 17 00:00:00 2001 From: Thiago Macieira Date: Fri, 6 Dec 2013 20:53:17 -0800 Subject: Set the menuRole property on certain menu entry QActions Telling Qt that the "Preferences" menu entry is QAction::PreferencesRole will make it be moved to the System menu on Mac, for example. Fixes #327 Signed-off-by: Thiago Macieira Signed-off-by: Dirk Hohndel --- qt-ui/mainwindow.ui | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'qt-ui') diff --git a/qt-ui/mainwindow.ui b/qt-ui/mainwindow.ui index 92432d547..5107b20cb 100644 --- a/qt-ui/mainwindow.ui +++ b/qt-ui/mainwindow.ui @@ -329,6 +329,9 @@ Ctrl+, + + QAction::PreferencesRole + @@ -337,6 +340,9 @@ Ctrl+Q + + QAction::QuitRole + @@ -458,6 +464,9 @@ About Subsurface + + QAction::AboutRole + -- cgit v1.2.3-70-g09d2