summaryrefslogtreecommitdiffstats
path: root/desktop-widgets/mapwidget.cpp
diff options
context:
space:
mode:
authorGravatar Berthold Stoeger <bstoeger@mail.tuwien.ac.at>2019-09-03 08:34:24 +0200
committerGravatar Dirk Hohndel <dirk@hohndel.org>2019-09-06 11:48:47 -0700
commit4479ccf8f32a0241e51dd5dcbcec28d2d26fb7af (patch)
tree50cc869fd40880a9ad2376742279165e9e32917b /desktop-widgets/mapwidget.cpp
parentca484c5029650c781b24279258215f8e351c2355 (diff)
downloadsubsurface-4479ccf8f32a0241e51dd5dcbcec28d2d26fb7af.tar.gz
Cleanup: remove unused MapWidget::repopulateLabels() function
There is the alternative MapWidget::reload() function, which centers on the selected dive-site. Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
Diffstat (limited to 'desktop-widgets/mapwidget.cpp')
-rw-r--r--desktop-widgets/mapwidget.cpp6
1 files changed, 0 insertions, 6 deletions
diff --git a/desktop-widgets/mapwidget.cpp b/desktop-widgets/mapwidget.cpp
index 15fdef960..ce98cc3cc 100644
--- a/desktop-widgets/mapwidget.cpp
+++ b/desktop-widgets/mapwidget.cpp
@@ -66,12 +66,6 @@ void MapWidget::centerOnIndex(const QModelIndex& idx)
centerOnDiveSite(ds);
}
-void MapWidget::repopulateLabels()
-{
- CHECK_IS_READY_RETURN_VOID();
- m_mapHelper->reloadMapLocations();
-}
-
void MapWidget::reload()
{
CHECK_IS_READY_RETURN_VOID();