diff options
author | Dirk Hohndel <dirk@hohndel.org> | 2015-11-13 17:20:45 -0800 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2015-11-13 17:20:45 -0800 |
commit | 577da54454e83e448b3a9ba912b4ba58fa64d3ab (patch) | |
tree | 5c77a35b2cff1cd531d5f2a6862a7ea91eef2288 /qt-mobile/qmlmanager.cpp | |
parent | fcbc013cb4e1528aa3a350320ac578d47de0b471 (diff) | |
download | subsurface-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/qmlmanager.cpp')
-rw-r--r-- | qt-mobile/qmlmanager.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/qt-mobile/qmlmanager.cpp b/qt-mobile/qmlmanager.cpp index c00134f84..63de7d6e8 100644 --- a/qt-mobile/qmlmanager.cpp +++ b/qt-mobile/qmlmanager.cpp @@ -158,6 +158,11 @@ void QMLManager::applyGpsData() locationProvider->applyLocations(); } +void QMLManager::clearGpsData() +{ + locationProvider->clearGpsData(); +} + QString QMLManager::logText() const { QString logText = m_logText + QString("\nNumer of GPS fixes: %1").arg(locationProvider->getGpsNum()); |