mirror of
https://github.com/subsurface/subsurface.git
synced 2025-01-31 23:13:25 +00:00
Simplify Q_FOREACH
Signed-off-by: Tomaz Canabrava <tomaz.canabrava@gmail.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
3a003cb4fa
commit
726e251ffc
1 changed files with 1 additions and 3 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Reference in a new issue