From 8fe068f1915f91bb3d9463874515db7f83145d8a Mon Sep 17 00:00:00 2001 From: "Lubomir I. Ivanov" Date: Mon, 17 Jul 2017 22:39:38 +0300 Subject: 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 --- desktop-widgets/mapwidget.cpp | 4 ++-- 1 file 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() -- cgit v1.2.3-70-g09d2