summaryrefslogtreecommitdiffstats
path: root/desktop-widgets/mainwindow.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'desktop-widgets/mainwindow.cpp')
-rw-r--r--desktop-widgets/mainwindow.cpp7
1 files changed, 1 insertions, 6 deletions
diff --git a/desktop-widgets/mainwindow.cpp b/desktop-widgets/mainwindow.cpp
index b563736f0..b8baac371 100644
--- a/desktop-widgets/mainwindow.cpp
+++ b/desktop-widgets/mainwindow.cpp
@@ -408,7 +408,7 @@ void MainWindow::refreshDisplay(bool doRecreateDiveList)
mainTab->reload();
TankInfoModel::instance()->update();
if (doRecreateDiveList)
- recreateDiveList();
+ diveList->reload();
MapWidget::instance()->reload();
setApplicationState(ApplicationState::Default);
@@ -418,11 +418,6 @@ void MainWindow::refreshDisplay(bool doRecreateDiveList)
ui.actionAutoGroup->setChecked(autogroup);
}
-void MainWindow::recreateDiveList()
-{
- diveList->reload();
-}
-
void MainWindow::configureToolbar()
{
if (current_dive) {