aboutsummaryrefslogtreecommitdiffstats
path: root/subsurface-core/gpslocation.h
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2016-01-10 17:22:20 -0800
committerGravatar Dirk Hohndel <dirk@hohndel.org>2016-01-10 20:44:21 -0800
commit88291f605cec174de3e64d112bb5a44a16154162 (patch)
treee89fdc6e31019cce004e784a6e7b2d6d18483955 /subsurface-core/gpslocation.h
parent33142ed7f861648b77a24d9b905bd04e23213a13 (diff)
downloadsubsurface-88291f605cec174de3e64d112bb5a44a16154162.tar.gz
GPS data: more fixes
- load the data from settings as we start - improve upload to server - keep settings and in memory model in sync Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'subsurface-core/gpslocation.h')
-rw-r--r--subsurface-core/gpslocation.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/subsurface-core/gpslocation.h b/subsurface-core/gpslocation.h
index dc8496924..9e5a25af7 100644
--- a/subsurface-core/gpslocation.h
+++ b/subsurface-core/gpslocation.h
@@ -47,6 +47,8 @@ private:
QMap<qint64, gpsTracker> m_trackers;
void addFixToStorage(gpsTracker &gt);
void deleteFixFromStorage(gpsTracker &gt);
+ void loadFromStorage();
+ void replaceFixToStorage(gpsTracker &gt);
public slots:
void serviceEnable(bool toggle);