[PATCH] Move preferences under GPS menu

Miika Turkia miika.turkia at gmail.com
Sun Feb 7 21:38:24 PST 2016


Since we currently only have preferences that affect the GPS
functionality, it might be more logical to have the preferences under
GPS menu.

Signed-off-by: Miika Turkia <miika.turkia at gmail.com>
---
 qt-mobile/qml/main.qml | 14 +++++++-------
 1 file changed, 7 insertions(+), 7 deletions(-)

diff --git a/qt-mobile/qml/main.qml b/qt-mobile/qml/main.qml
index 8a53479..a810b1d 100644
--- a/qt-mobile/qml/main.qml
+++ b/qt-mobile/qml/main.qml
@@ -47,13 +47,6 @@ MobileComponents.ApplicationWindow {
 					endEditMode()
 				}
 			},
-			Action {
-				text: "Preferences"
-				onTriggered: {
-					stackView.push(prefsWindow)
-					endEditMode()
-				}
-			},
 			MobileComponents.ActionGroup {
 				text: "Manage dives"
 				Action {
@@ -136,6 +129,13 @@ MobileComponents.ApplicationWindow {
 						manager.clearGpsData();
 					}
 				}
+				Action {
+					text: "Preferences"
+					onTriggered: {
+						stackView.push(prefsWindow)
+						endEditMode()
+					}
+				}
 			},
 
 			MobileComponents.ActionGroup {
-- 
2.5.0



More information about the subsurface mailing list