From: "Robert C. Helling" <hell...@atdotde.de> Signed-off-by: Robert C. Helling <hell...@atdotde.de> --- subsurface-core/gpslocation.cpp | 2 ++ 1 file changed, 2 insertions(+)
diff --git a/subsurface-core/gpslocation.cpp b/subsurface-core/gpslocation.cpp index 532c142..fd6b430 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; -- 2.5.4 (Apple Git-61) _______________________________________________ subsurface mailing list subsurface@subsurface-divelog.org http://lists.subsurface-divelog.org/cgi-bin/mailman/listinfo/subsurface