summaryrefslogtreecommitdiffstats
path: root/subsurface-core
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2016-03-24 17:42:53 -0700
committerGravatar Dirk Hohndel <dirk@hohndel.org>2016-03-24 17:48:20 -0700
commit8f5a6624411ceeda96d2cad9b6499023233d55f8 (patch)
tree752a592581ba2bf000c7be16c19d24a217c53356 /subsurface-core
parentdc1cd40721754a19e86a476a3fbb2e83215a421f (diff)
downloadsubsurface-8f5a6624411ceeda96d2cad9b6499023233d55f8.tar.gz
QML UI: add the position source reported to the log
I've seen iPads without GPS report that they support satellite positioning. Seems like a Qt bug to me. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'subsurface-core')
-rw-r--r--subsurface-core/gpslocation.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/subsurface-core/gpslocation.cpp b/subsurface-core/gpslocation.cpp
index 2586f5fb0..075b1c046 100644
--- a/subsurface-core/gpslocation.cpp
+++ b/subsurface-core/gpslocation.cpp
@@ -33,7 +33,7 @@ GpsLocation::GpsLocation(void (*showMsgCB)(const char *), QObject *parent) : QOb
QString("org.subsurfacedivelog"), QString("subsurfacelocation"), this);
#ifdef SUBSURFACE_MOBILE
if (hasLocationsSource())
- status("Found GPS");
+ status(QString("Found GPS with positioning methods %1").arg(QString::number(m_GpsSource->supportedPositioningMethods(), 16)));
#endif
userAgent = getUserAgent();
loadFromStorage();