summaryrefslogtreecommitdiffstats
path: root/qt-mobile/qml/main.qml
diff options
context:
space:
mode:
authorGravatar Miika Turkia <miika.turkia@gmail.com>2016-02-10 22:53:59 +0200
committerGravatar Dirk Hohndel <dirk@hohndel.org>2016-02-10 15:16:12 -0800
commitc41bdcfbe323c12f1803e47c3760628fe5121358 (patch)
tree13f0dd09e56138f005105a8014537fe2c8054a20 /qt-mobile/qml/main.qml
parent3bdaf00546c483f581bfabc8377683d9f3ed7f49 (diff)
downloadsubsurface-c41bdcfbe323c12f1803e47c3760628fe5121358.tar.gz
Adding about page to Subsurface-mobile
This isn't pretty, but having the version string available on a place that people are likely to find does make sense when going public with the Subsurface-mobile. Especially when we do a public release, I assume the developer menu with App log might not be readily available for people to identify their installed version. Signed-off-by: Miika Turkia <miika.turkia@gmail.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-mobile/qml/main.qml')
-rw-r--r--qt-mobile/qml/main.qml13
1 files changed, 12 insertions, 1 deletions
diff --git a/qt-mobile/qml/main.qml b/qt-mobile/qml/main.qml
index 6054b2fe6..087de2621 100644
--- a/qt-mobile/qml/main.qml
+++ b/qt-mobile/qml/main.qml
@@ -161,8 +161,14 @@ MobileComponents.ApplicationWindow {
manager.verboseEnabled = checked;
}
}
+ },
+ Action {
+ text: "About"
+ onTriggered: {
+ stackView.push(aboutWindow)
+ detailsWindow.endEditMode()
+ }
}
-
] // end actions
MouseArea {
@@ -240,6 +246,11 @@ MobileComponents.ApplicationWindow {
visible: false
}
+ About {
+ id: aboutWindow
+ visible: false
+ }
+
CloudCredentials {
id: cloudCredWindow
visible: false