diff options
author | Lubomir I. Ivanov <neolit123@gmail.com> | 2017-07-17 22:39:38 +0300 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2017-07-28 07:31:11 -0700 |
commit | 8fe068f1915f91bb3d9463874515db7f83145d8a (patch) | |
tree | acf7d6e30937cebd40fd07d7e8f81b40cdc38461 /desktop-widgets/mapwidget.cpp | |
parent | ffb92111e5145d77f0d9b5be479a7a9283223407 (diff) | |
download | subsurface-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>
Diffstat (limited to 'desktop-widgets/mapwidget.cpp')
-rw-r--r-- | desktop-widgets/mapwidget.cpp | 4 |
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()
|