mirror of
https://github.com/subsurface/subsurface.git
synced 2024-11-28 05:00:20 +00:00
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:
parent
ca484c5029
commit
4479ccf8f3
2 changed files with 0 additions and 7 deletions
|
@ -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();
|
||||
|
|
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue