aboutsummaryrefslogtreecommitdiffstats
path: root/qt-mobile
diff options
context:
space:
mode:
authorGravatar Miika Turkia <miika.turkia@gmail.com>2016-02-08 07:38:24 +0200
committerGravatar Dirk Hohndel <dirk@hohndel.org>2016-02-08 08:00:27 -0800
commitd97ae62c754905047d5a12e1bc6741764c83d538 (patch)
tree20ccbe6df05139371731ba894c0d6da08fea090e /qt-mobile
parent8eb019456d341e676d5152a9e4b8df6b7a502b96 (diff)
downloadsubsurface-d97ae62c754905047d5a12e1bc6741764c83d538.tar.gz
Move preferences under GPS menu
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@gmail.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-mobile')
-rw-r--r--qt-mobile/qml/main.qml14
1 files changed, 7 insertions, 7 deletions
diff --git a/qt-mobile/qml/main.qml b/qt-mobile/qml/main.qml
index 6af5a364d..ee1824231 100644
--- a/qt-mobile/qml/main.qml
+++ b/qt-mobile/qml/main.qml
@@ -42,13 +42,6 @@ MobileComponents.ApplicationWindow {
detailsWindow.endEditMode()
}
},
- Action {
- text: "Preferences"
- onTriggered: {
- stackView.push(prefsWindow)
- detailsWindow.endEditMode()
- }
- },
MobileComponents.ActionGroup {
text: "Manage dives"
/*
@@ -134,6 +127,13 @@ MobileComponents.ApplicationWindow {
manager.clearGpsData();
}
}
+ Action {
+ text: "Preferences"
+ onTriggered: {
+ stackView.push(prefsWindow)
+ endEditMode()
+ }
+ }
},
MobileComponents.ActionGroup {