summaryrefslogtreecommitdiffstats
path: root/qt-mobile/qmlmanager.cpp
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2016-01-07 21:40:15 -0800
committerGravatar Dirk Hohndel <dirk@hohndel.org>2016-01-07 21:41:52 -0800
commitb6ae6979e530fa32dbdb472a2e9698cb719945a8 (patch)
tree124ad2b8fe4d0d93d70cf4b6c10556a4283dd270 /qt-mobile/qmlmanager.cpp
parent06dcc9ab8d6d7ca7d9967fa9db4c8e87ae376dec (diff)
downloadsubsurface-b6ae6979e530fa32dbdb472a2e9698cb719945a8.tar.gz
QML UI: show the available GPS fixes
So far the user can't interact with these. We should implement an ability to visualize the GPS fix and to delete it. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-mobile/qmlmanager.cpp')
-rw-r--r--qt-mobile/qmlmanager.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/qt-mobile/qmlmanager.cpp b/qt-mobile/qmlmanager.cpp
index 766498b17..4dd5ca4fb 100644
--- a/qt-mobile/qmlmanager.cpp
+++ b/qt-mobile/qmlmanager.cpp
@@ -507,9 +507,15 @@ void QMLManager::downloadGpsData()
locationProvider->updateModel();
}
+void QMLManager::populateGpsData()
+{
+ locationProvider->updateModel();
+}
+
void QMLManager::clearGpsData()
{
locationProvider->clearGpsData();
+ locationProvider->updateModel();
}
QString QMLManager::logText() const