diff options
author | Berthold Stoeger <bstoeger@mail.tuwien.ac.at> | 2019-11-18 11:34:24 +0100 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2019-11-19 21:13:40 -0800 |
commit | 78d4a4ce3643a1bfce06ac809ab951e692d11314 (patch) | |
tree | fddc3134c81d477075ece0f2cebd1424bf885778 /desktop-widgets | |
parent | 3003c6e1eed330978193d6859eca2f79ee68aa54 (diff) | |
download | subsurface-78d4a4ce3643a1bfce06ac809ab951e692d11314.tar.gz |
Filter: don't reload filter after reloading dive list
The hidden_by_filter items are set on reload of the dive list.
No point in reloading the filter again.
Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
Diffstat (limited to 'desktop-widgets')
-rw-r--r-- | desktop-widgets/mainwindow.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/desktop-widgets/mainwindow.cpp b/desktop-widgets/mainwindow.cpp index 676fbce87..cf46e6ec8 100644 --- a/desktop-widgets/mainwindow.cpp +++ b/desktop-widgets/mainwindow.cpp @@ -69,7 +69,6 @@ #include "qt-models/cylindermodel.h" #include "qt-models/divepicturemodel.h" #include "qt-models/diveplannermodel.h" -#include "qt-models/filtermodels.h" #include "qt-models/tankinfomodel.h" #include "qt-models/weightsysteminfomodel.h" #include "qt-models/yearlystatisticsmodel.h" @@ -423,7 +422,6 @@ void MainWindow::refreshDisplay(bool doRecreateDiveList) void MainWindow::recreateDiveList() { diveList->reload(); - DiveTripModelBase::instance()->recalculateFilter(); } void MainWindow::configureToolbar() |