summaryrefslogtreecommitdiffstats
path: root/qt-ui/mainwindow.h
diff options
context:
space:
mode:
authorGravatar Tomaz Canabrava <tcanabrava@kde.org>2013-05-16 16:00:33 -0300
committerGravatar Dirk Hohndel <dirk@hohndel.org>2013-05-16 12:23:38 -0700
commitd39b1aedcd9dedecfca54c91661a81406b80c6ec (patch)
tree722d67b585e200cd298058308563aeca78c85a29 /qt-ui/mainwindow.h
parente3cb36498d97750a9a961be21f5adb9073fa6863 (diff)
downloadsubsurface-d39b1aedcd9dedecfca54c91661a81406b80c6ec.tar.gz
Fix loading a second dive, after the first file was loaded.
This patch fixes loading a second dive-file after the first one had been loaded. it simply clears some information and makes sure that the current selected dive is invalid when the file closes. I also did a bit of code cleanup on this one to make things simpler in the future. Signed-off-by: Tomaz Canabrava <tcanabrava@kde.org> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-ui/mainwindow.h')
-rw-r--r--qt-ui/mainwindow.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/qt-ui/mainwindow.h b/qt-ui/mainwindow.h
index 04392ada9..60f0d4609 100644
--- a/qt-ui/mainwindow.h
+++ b/qt-ui/mainwindow.h
@@ -76,8 +76,6 @@ protected:
private:
Ui::MainWindow *ui;
- DiveTripModel *model;
- QSortFilterProxyModel *sortModel;
QAction *actionNextDive;
QAction *actionPreviousDive;