mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
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>
This commit is contained in:
parent
038cfcba91
commit
b1f90b6aa0
5 changed files with 50 additions and 2 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue