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>
This commit is contained in:
Berthold Stoeger 2019-09-03 08:34:24 +02:00 committed by Dirk Hohndel
parent ca484c5029
commit 4479ccf8f3
2 changed files with 0 additions and 7 deletions

View file

@ -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();

View file

@ -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);