diff options
author | Dirk Hohndel <dirk@hohndel.org> | 2016-01-08 23:18:41 -0800 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2016-01-08 23:18:41 -0800 |
commit | b1f90b6aa0171cc5a5b7b5ff2f8dbc6236e23c4e (patch) | |
tree | f75d68234e4de76fcd8deaf9172f6516dbc951b0 /subsurface-core/gpslocation.h | |
parent | 038cfcba911f2ae0e22ef6138042a6154578723c (diff) | |
download | subsurface-b1f90b6aa0171cc5a5b7b5ff2f8dbc6236e23c4e.tar.gz |
QML UI: partial, slow and incomplete implementation of delete GPS fix
This only deletes the fix on the mobile device, not on the server.
And it is really really slow. Re-reading the data from the settings just isn't
a smart way to do this.
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'subsurface-core/gpslocation.h')
-rw-r--r-- | subsurface-core/gpslocation.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/subsurface-core/gpslocation.h b/subsurface-core/gpslocation.h index 4193be561..0c722a5f4 100644 --- a/subsurface-core/gpslocation.h +++ b/subsurface-core/gpslocation.h @@ -12,7 +12,7 @@ struct gpsTracker { degrees_t latitude; degrees_t longitude; - time_t when; + quint64 when; QString name; }; @@ -52,7 +52,7 @@ public slots: void postError(QNetworkReply::NetworkError error); void getUseridError(QNetworkReply::NetworkError error); void clearGpsData(); - + void deleteGpsFix(quint64 when); }; #endif // GPSLOCATION_H |