From 6293be63b19c414efd8d84e64214381bd0e62a3f Mon Sep 17 00:00:00 2001 From: Don Gagne Date: Fri, 21 Nov 2014 14:42:32 -0800 Subject: [PATCH] Set correct roles on actions This way OS X correctly positioned menu items --- src/ui/MainWindow.ui | 18 ++++++------------ 1 file changed, 6 insertions(+), 12 deletions(-) diff --git a/src/ui/MainWindow.ui b/src/ui/MainWindow.ui index a565aeae9..ebeddfe18 100644 --- a/src/ui/MainWindow.ui +++ b/src/ui/MainWindow.ui @@ -181,18 +181,6 @@ Add Link - - - - :/files/images/categories/applications-system.svg:/files/images/categories/applications-system.svg - - - Preferences - - - Open UAS Preferences - - @@ -375,6 +363,9 @@ Application settings + + QAction::PreferencesRole + @@ -442,6 +433,9 @@ Setup of the vehicle + + QAction::NoRole + -- 2.22.0