summaryrefslogtreecommitdiffstats
path: root/qt-ui/maintab.h
diff options
context:
space:
mode:
authorGravatar Tomaz Canabrava <tomaz.canabrava@gmail.com>2015-05-29 22:22:24 -0300
committerGravatar Dirk Hohndel <dirk@hohndel.org>2015-05-29 20:59:11 -0700
commitac6a7ab24e087cc150a7eff0ff6e7e4f8c52ce9a (patch)
tree4aa3130a235a11f5fb6b39c1f791e643ae524a18 /qt-ui/maintab.h
parentd6e61b74fc140ca5a6cb1de3c6b6435b3701aa5b (diff)
downloadsubsurface-ac6a7ab24e087cc150a7eff0ff6e7e4f8c52ce9a.tar.gz
Update DiveLocationModel when thread finishes
This patch updates the DiveLocationModel when the GeoLoockupInformationThread finishes, and also selects the correct index for the displayed dive. Signed-off-by: Tomaz Canabrava <tomaz.canabrava@gmail.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-ui/maintab.h')
-rw-r--r--qt-ui/maintab.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/qt-ui/maintab.h b/qt-ui/maintab.h
index 23be96efa..466733b8b 100644
--- a/qt-ui/maintab.h
+++ b/qt-ui/maintab.h
@@ -97,7 +97,7 @@ slots:
void showLocation();
void enableGeoLookupEdition();
void disableGeoLookupEdition();
-
+ void setCurrentLocationIndex();
private:
Ui::MainTab ui;
WeightModel *weightModel;