diff options
author | Dirk Hohndel <dirk@hohndel.org> | 2016-01-08 23:18:41 -0800 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2016-01-08 23:18:41 -0800 |
commit | b1f90b6aa0171cc5a5b7b5ff2f8dbc6236e23c4e (patch) | |
tree | f75d68234e4de76fcd8deaf9172f6516dbc951b0 /qt-mobile/qml/GpsList.qml | |
parent | 038cfcba911f2ae0e22ef6138042a6154578723c (diff) | |
download | subsurface-b1f90b6aa0171cc5a5b7b5ff2f8dbc6236e23c4e.tar.gz |
QML UI: partial, slow and incomplete implementation of delete GPS fix
This only deletes the fix on the mobile device, not on the server.
And it is really really slow. Re-reading the data from the settings just isn't
a smart way to do this.
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-mobile/qml/GpsList.qml')
-rw-r--r-- | qt-mobile/qml/GpsList.qml | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/qt-mobile/qml/GpsList.qml b/qt-mobile/qml/GpsList.qml index 1e3242e6d..0ee654fc1 100644 --- a/qt-mobile/qml/GpsList.qml +++ b/qt-mobile/qml/GpsList.qml @@ -91,6 +91,7 @@ MobileComponents.Page { iconName: "trash-empty" onTriggered: { print("delete this!") + manager.deleteGpsFix(when) } }, Action { |