diff options
Diffstat (limited to 'core')
-rw-r--r-- | core/gpslocation.cpp | 2 | ||||
-rw-r--r-- | core/gpslocation.h | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/core/gpslocation.cpp b/core/gpslocation.cpp index 8595cc45d..b56cb7b8c 100644 --- a/core/gpslocation.cpp +++ b/core/gpslocation.cpp @@ -111,7 +111,7 @@ QString GpsLocation::currentPosition() // ok, we need to get the current position and somehow in the callback update the location in the QML UI // punting right now waitingForPosition = true; - return QString("waiting for the next gps location"); + return GPS_CURRENT_POS; } void GpsLocation::newPosition(QGeoPositionInfo pos) diff --git a/core/gpslocation.h b/core/gpslocation.h index 82b51a291..e1b485832 100644 --- a/core/gpslocation.h +++ b/core/gpslocation.h @@ -10,6 +10,8 @@ #include <QNetworkReply> #include <QMap> +#define GPS_CURRENT_POS QObject::tr("Waiting to aquire GPS location") + struct gpsTracker { degrees_t latitude; degrees_t longitude; |