aboutsummaryrefslogtreecommitdiffstats
path: root/qt-mobile/qml
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2015-11-13 17:20:45 -0800
committerGravatar Dirk Hohndel <dirk@hohndel.org>2015-11-13 17:20:45 -0800
commit577da54454e83e448b3a9ba912b4ba58fa64d3ab (patch)
tree5c77a35b2cff1cd531d5f2a6862a7ea91eef2288 /qt-mobile/qml
parentfcbc013cb4e1528aa3a350320ac578d47de0b471 (diff)
downloadsubsurface-577da54454e83e448b3a9ba912b4ba58fa64d3ab.tar.gz
Location service: add ability to delete all stored GPS fixes
This may need an "are you sure" confirmation dialog... Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-mobile/qml')
-rw-r--r--qt-mobile/qml/main.qml7
1 files changed, 7 insertions, 0 deletions
diff --git a/qt-mobile/qml/main.qml b/qt-mobile/qml/main.qml
index 3e18cbc68..d4b01cb33 100644
--- a/qt-mobile/qml/main.qml
+++ b/qt-mobile/qml/main.qml
@@ -87,6 +87,13 @@ ApplicationWindow {
}
MenuItem {
+ text: "Clear stored GPS data"
+ onTriggered: {
+ manager.clearGpsData();
+ }
+ }
+
+ MenuItem {
text: "View Log"
onTriggered: {
stackView.push(logWindow)