diff options
author | Berthold Stoeger <bstoeger@mail.tuwien.ac.at> | 2019-09-03 08:34:24 +0200 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2019-09-06 11:48:47 -0700 |
commit | 4479ccf8f32a0241e51dd5dcbcec28d2d26fb7af (patch) | |
tree | 50cc869fd40880a9ad2376742279165e9e32917b | |
parent | ca484c5029650c781b24279258215f8e351c2355 (diff) | |
download | subsurface-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>
-rw-r--r-- | desktop-widgets/mapwidget.cpp | 6 | ||||
-rw-r--r-- | desktop-widgets/mapwidget.h | 1 |
2 files changed, 0 insertions, 7 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(); diff --git a/desktop-widgets/mapwidget.h b/desktop-widgets/mapwidget.h index 9ebf70c04..f62fc524f 100644 --- a/desktop-widgets/mapwidget.h +++ b/desktop-widgets/mapwidget.h @@ -30,7 +30,6 @@ public: public slots: void centerOnDiveSite(struct dive_site *); void centerOnIndex(const QModelIndex& idx); - void repopulateLabels(); void selectedDivesChanged(const QList<int> &); void coordinatesChanged(struct dive_site *ds, const location_t &); void doneLoading(QQuickWidget::Status status); |