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:
Robert C. Helling 2015-12-18 23:37:01 +01:00 committed by Dirk Hohndel
parent c3ebeadb34
commit 20fa943d25

View file

@ -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;