summaryrefslogtreecommitdiffstats
path: root/mobile-widgets/qmlmanager.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'mobile-widgets/qmlmanager.cpp')
-rw-r--r--mobile-widgets/qmlmanager.cpp8
1 files changed, 6 insertions, 2 deletions
diff --git a/mobile-widgets/qmlmanager.cpp b/mobile-widgets/qmlmanager.cpp
index 42bb24f70..b69783e95 100644
--- a/mobile-widgets/qmlmanager.cpp
+++ b/mobile-widgets/qmlmanager.cpp
@@ -1577,8 +1577,12 @@ QString QMLManager::getCurrentPosition()
void QMLManager::applyGpsData()
{
- if (locationProvider->applyLocations())
- refreshDiveList();
+ appendTextToLog("Applying GPS fiexs");
+ int cnt = locationProvider->applyLocations();
+ if (cnt == 0)
+ return;
+ appendTextToLog(QString("Attached %1 GPS fixes").arg(cnt));
+ refreshDiveList();
}
void QMLManager::populateGpsData()