summaryrefslogtreecommitdiffstats
path: root/qt-mobile/qmlmanager.cpp
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2015-11-13 09:17:13 -0800
committerGravatar Dirk Hohndel <dirk@hohndel.org>2015-11-13 09:17:13 -0800
commit6a70793ba843549bd8e1921a91a3af0e10702405 (patch)
tree68849dd992eb8415f8105a7d934797e5f2bcabe8 /qt-mobile/qmlmanager.cpp
parent4b39971978b5c1fe2f50e83837eb5f8b2ce7ce47 (diff)
downloadsubsurface-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.cpp3
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)