diff options
Diffstat (limited to 'subsurface-core/gpslocation.cpp')
-rw-r--r-- | subsurface-core/gpslocation.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/subsurface-core/gpslocation.cpp b/subsurface-core/gpslocation.cpp index 532c142b6..fd6b43049 100644 --- a/subsurface-core/gpslocation.cpp +++ b/subsurface-core/gpslocation.cpp @@ -56,7 +56,9 @@ QGeoPositionInfoSource *GpsLocation::getGpsSource() connect(gpsSource, SIGNAL(updateTimeout()), this, SLOT(updateTimeout())); gpsSource->setUpdateInterval(5 * 60 * 1000); // 5 minutes so the device doesn't drain the battery } else { +#ifdef SUBSURFACE_MOBILE status("don't have GPS source"); +#endif } } return gpsSource; |