diff options
author | Dirk Hohndel <dirk@hohndel.org> | 2015-11-13 09:17:13 -0800 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2015-11-13 09:17:13 -0800 |
commit | 6a70793ba843549bd8e1921a91a3af0e10702405 (patch) | |
tree | 68849dd992eb8415f8105a7d934797e5f2bcabe8 /qt-mobile/qmlmanager.cpp | |
parent | 4b39971978b5c1fe2f50e83837eb5f8b2ce7ce47 (diff) | |
download | subsurface-6a70793ba843549bd8e1921a91a3af0e10702405.tar.gz |
Location service: report number of recorded GPS fixes
This is mostly for debugging, to make sure that the recording of GPS fixes
works as expected.
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-mobile/qmlmanager.cpp')
-rw-r--r-- | qt-mobile/qmlmanager.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/qt-mobile/qmlmanager.cpp b/qt-mobile/qmlmanager.cpp index 68f22fdc1..d2c105110 100644 --- a/qt-mobile/qmlmanager.cpp +++ b/qt-mobile/qmlmanager.cpp @@ -154,7 +154,8 @@ void QMLManager::applyGpsData() QString QMLManager::logText() const { - return m_logText; + QString logText = m_logText + QString("\nNumer of GPS fixes: %1").arg(locationProvider->getGpsNum()); + return logText; } void QMLManager::setLogText(const QString &logText) |