diff options
author | Tomaz Canabrava <tcanabrava@kde.org> | 2013-05-16 16:00:33 -0300 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2013-05-16 12:23:38 -0700 |
commit | d39b1aedcd9dedecfca54c91661a81406b80c6ec (patch) | |
tree | 722d67b585e200cd298058308563aeca78c85a29 /qt-ui/mainwindow.h | |
parent | e3cb36498d97750a9a961be21f5adb9073fa6863 (diff) | |
download | subsurface-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.h | 2 |
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; |