summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Lubomir I. Ivanov <neolit123@gmail.com>2017-07-17 22:39:38 +0300
committerGravatar Dirk Hohndel <dirk@hohndel.org>2017-07-28 07:31:11 -0700
commit8fe068f1915f91bb3d9463874515db7f83145d8a (patch)
treeacf7d6e30937cebd40fd07d7e8f81b40cdc38461
parentffb92111e5145d77f0d9b5be479a7a9283223407 (diff)
downloadsubsurface-8fe068f1915f91bb3d9463874515db7f83145d8a.tar.gz
mapwidget: call MapWidgetHelper::reloadMapLocations()
MapWidgetHelper::reloadMapLocations() is now called from MapWidget::reload() and MapWidget::repopulateLabels(). The mobile version should do similar. NOTE: These MapWidget methods names are from the Marble "port". Signed-off-by: Lubomir I. Ivanov <neolit123@gmail.com>
-rw-r--r--desktop-widgets/mapwidget.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/desktop-widgets/mapwidget.cpp b/desktop-widgets/mapwidget.cpp
index 50195319e..ffd711835 100644
--- a/desktop-widgets/mapwidget.cpp
+++ b/desktop-widgets/mapwidget.cpp
@@ -41,12 +41,12 @@ void MapWidget::centerOnIndex(const QModelIndex& idx)
void MapWidget::repopulateLabels()
{
- // TODO;
+ m_mapHelper->reloadMapLocations();
}
void MapWidget::reload()
{
- // TODO;
+ m_mapHelper->reloadMapLocations();
}
void MapWidget::endGetDiveCoordinates()