diff options
Diffstat (limited to 'desktop-widgets/mapwidget.cpp')
-rw-r--r-- | desktop-widgets/mapwidget.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/desktop-widgets/mapwidget.cpp b/desktop-widgets/mapwidget.cpp index 471e924a6..d1048e87f 100644 --- a/desktop-widgets/mapwidget.cpp +++ b/desktop-widgets/mapwidget.cpp @@ -103,9 +103,9 @@ void MapWidget::selectedDivesChanged(QList<int> list) { CHECK_IS_READY_RETURN_VOID(); skipReload = true; - MainWindow::instance()->dive_list()->unselectDives(); + MainWindow::instance()->dive_list->unselectDives(); if (!list.empty()) - MainWindow::instance()->dive_list()->selectDives(list); + MainWindow::instance()->dive_list->selectDives(list); skipReload = false; } |