diff options
Diffstat (limited to 'qt-mobile/gpslocation.cpp')
-rw-r--r-- | qt-mobile/gpslocation.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/qt-mobile/gpslocation.cpp b/qt-mobile/gpslocation.cpp index 2459aeefd..35654b7ff 100644 --- a/qt-mobile/gpslocation.cpp +++ b/qt-mobile/gpslocation.cpp @@ -74,6 +74,11 @@ void GpsLocation::status(QString msg) qmlUiShowMessage(qPrintable(msg)); } +int GpsLocation::getGpsNum() const +{ + return geoSettings.value("count", 0).toInt(); +} + struct gpsTracker { degrees_t latitude; degrees_t longitude; |