diff options
Diffstat (limited to 'subsurface-core/gpslocation.cpp')
-rw-r--r-- | subsurface-core/gpslocation.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/subsurface-core/gpslocation.cpp b/subsurface-core/gpslocation.cpp index 3907560a6..9f1961cbf 100644 --- a/subsurface-core/gpslocation.cpp +++ b/subsurface-core/gpslocation.cpp @@ -493,9 +493,7 @@ void GpsLocation::uploadToServer() QNetworkAccessManager *manager = new QNetworkAccessManager(qApp); QUrl url(GPS_FIX_ADD_URL); - QList<qint64> keys = m_trackers.keys(); - qint64 key; - Q_FOREACH(key, keys) { + Q_FOREACH(qint64 key, m_trackers.keys()) { struct gpsTracker gt = m_trackers.value(key); QDateTime dt; QUrlQuery data; |