diff options
author | Dirk Hohndel <dirk@hohndel.org> | 2016-01-07 21:37:36 -0800 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2016-01-07 21:41:52 -0800 |
commit | 2b1ffb3cc49566c8c138e1e536c8d1f25344e960 (patch) | |
tree | e1aeb00966c4b78ff992363ed5dc2fee8959fdcb /qt-mobile/qmlmanager.cpp | |
parent | 1c66e399fa1f3549a9c3349d3a3f13000bb0d353 (diff) | |
download | subsurface-2b1ffb3cc49566c8c138e1e536c8d1f25344e960.tar.gz |
QML UI: trigger download of GPS fixes
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-mobile/qmlmanager.cpp')
-rw-r--r-- | qt-mobile/qmlmanager.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/qt-mobile/qmlmanager.cpp b/qt-mobile/qmlmanager.cpp index 00f8b5d48..766498b17 100644 --- a/qt-mobile/qmlmanager.cpp +++ b/qt-mobile/qmlmanager.cpp @@ -501,6 +501,12 @@ void QMLManager::sendGpsData() locationProvider->uploadToServer(); } +void QMLManager::downloadGpsData() +{ + locationProvider->downloadFromServer(); + locationProvider->updateModel(); +} + void QMLManager::clearGpsData() { locationProvider->clearGpsData(); |