summaryrefslogtreecommitdiffstats
path: root/core/gpslocation.h
diff options
context:
space:
mode:
authorGravatar Berthold Stoeger <bstoeger@mail.tuwien.ac.at>2019-11-16 21:44:57 +0100
committerGravatar Dirk Hohndel <dirk@hohndel.org>2020-03-09 12:41:57 -0700
commitc8ec2f5b1ccd72d9ed5036bf9ecfec3b5f90964b (patch)
tree48b096b31a804aa55d3d8db30522e8e1ae681f7c /core/gpslocation.h
parent93bdaa9bb5be80115dc80af569a2c64e0136c5f5 (diff)
downloadsubsurface-c8ec2f5b1ccd72d9ed5036bf9ecfec3b5f90964b.tar.gz
mobile: use undo-command to apply gps fixes
The goal is to send the signal for the correct dives / divesites and thus not having to reload the whole model. Right now the mobile UI does not yet catch the diveSiteChanged signals. [Dirk Hohndel: small fix to ensure that we trigger a save to storage] Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'core/gpslocation.h')
-rw-r--r--core/gpslocation.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/core/gpslocation.h b/core/gpslocation.h
index 2e8f92b26..4cc7f200c 100644
--- a/core/gpslocation.h
+++ b/core/gpslocation.h
@@ -34,7 +34,6 @@ public:
static GpsLocation *instance();
static bool hasInstance();
std::vector<DiveAndLocation> getLocations();
- int applyLocations();
int getGpsNum() const;
bool hasLocationsSource();
QString currentPosition();