summaryrefslogtreecommitdiffstats
path: root/subsurface-core/gpslocation.h
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2016-01-10 19:34:21 -0800
committerGravatar Dirk Hohndel <dirk@hohndel.org>2016-01-10 20:44:22 -0800
commit4f10f7f7ae9b791f08cf97ec64f9a8a0468145c2 (patch)
tree9ec134327d12b9e223dcd519ac1361433d0ad139 /subsurface-core/gpslocation.h
parent956b8643194137ade01aac095857066db30b7f73 (diff)
downloadsubsurface-4f10f7f7ae9b791f08cf97ec64f9a8a0468145c2.tar.gz
QML UI: refresh divelist after GPS data was successfully applied
And create a helper to do so to make the code simpler. 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, 1 insertions, 1 deletions
diff --git a/subsurface-core/gpslocation.h b/subsurface-core/gpslocation.h
index 20ed26ed9..0e183d9f8 100644
--- a/subsurface-core/gpslocation.h
+++ b/subsurface-core/gpslocation.h
@@ -25,7 +25,7 @@ public:
GpsLocation(void (*showMsgCB)(const char *msg), QObject *parent);
~GpsLocation();
static GpsLocation *instance();
- void applyLocations();
+ bool applyLocations();
int getGpsNum() const;
QString getUserid(QString user, QString passwd);
bool hasLocationsSource();