diff options
Diffstat (limited to 'desktop-widgets/mapwidget.cpp')
-rw-r--r-- | desktop-widgets/mapwidget.cpp | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/desktop-widgets/mapwidget.cpp b/desktop-widgets/mapwidget.cpp index 11e6425b1..8bc0b175c 100644 --- a/desktop-widgets/mapwidget.cpp +++ b/desktop-widgets/mapwidget.cpp @@ -84,24 +84,6 @@ void MapWidget::reload() } } -void MapWidget::endGetDiveCoordinates() -{ - CHECK_IS_READY_RETURN_VOID(); - - skipReload = false; - m_mapHelper->exitEditMode(); -} - -void MapWidget::prepareForGetDiveCoordinates(struct dive_site *ds) -{ - CHECK_IS_READY_RETURN_VOID(); - m_mapHelper->enterEditMode(ds); - - // Ignore any reload signals during edit mode to avoid showing all flags when in edit mode. - // This can happen for example when the filter is reset. - skipReload = true; -} - void MapWidget::selectedDivesChanged(const QList<int> &list) { CHECK_IS_READY_RETURN_VOID(); |