aboutsummaryrefslogtreecommitdiffstats
path: root/qt-ui
diff options
context:
space:
mode:
Diffstat (limited to 'qt-ui')
-rw-r--r--qt-ui/mainwindow.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/qt-ui/mainwindow.cpp b/qt-ui/mainwindow.cpp
index c84766038..194ea1acb 100644
--- a/qt-ui/mainwindow.cpp
+++ b/qt-ui/mainwindow.cpp
@@ -265,10 +265,6 @@ void MainWindow::closeCurrentFile()
while (dive_table.nr)
delete_single_dive(0);
- ui.ListWidget->clearSelection();
- /* clear the selection and the statistics */
- selected_dive = -1;
-
free((void *)existing_filename);
existing_filename = NULL;