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>
This commit is contained in:
Tomaz Canabrava 2015-05-29 22:22:24 -03:00 committed by Dirk Hohndel
parent d6e61b74fc
commit ac6a7ab24e
5 changed files with 25 additions and 4 deletions

View file

@ -97,7 +97,7 @@ slots:
void showLocation();
void enableGeoLookupEdition();
void disableGeoLookupEdition();
void setCurrentLocationIndex();
private:
Ui::MainTab ui;
WeightModel *weightModel;