summaryrefslogtreecommitdiffstats
path: root/desktop-widgets
diff options
context:
space:
mode:
Diffstat (limited to 'desktop-widgets')
-rw-r--r--desktop-widgets/mainwindow.cpp7
-rw-r--r--desktop-widgets/mainwindow.h1
2 files changed, 1 insertions, 7 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) {
diff --git a/desktop-widgets/mainwindow.h b/desktop-widgets/mainwindow.h
index 075999707..109ca0e0c 100644
--- a/desktop-widgets/mainwindow.h
+++ b/desktop-widgets/mainwindow.h
@@ -163,7 +163,6 @@ slots:
void turnOffNdlTts();
void readSettings();
void refreshDisplay(bool doRecreateDiveList = true);
- void recreateDiveList();
void showProfile();
void refreshProfile();
void editCurrentDive();