Don't complain about missing GPS source unless mobile
Signed-off-by: Robert C. Helling <helling@atdotde.de> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
c3ebeadb34
commit
20fa943d25
@ -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;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user