diff options
author | Tomaz Canabrava <tcanabrava@kde.org> | 2018-10-21 18:00:02 +0200 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2018-12-14 01:05:18 +0800 |
commit | e0f473fcb49c8121a0a9c52bf0536049b0f342ed (patch) | |
tree | f95b2228ddfcb9926319fb236b896f24043e7846 /desktop-widgets/mainwindow.cpp | |
parent | 43178be1f23dca936b177b79245818e971bedde3 (diff) | |
download | subsurface-e0f473fcb49c8121a0a9c52bf0536049b0f342ed.tar.gz |
Drop old filter code
Drop tons of now-unused-code.
Signed-off-by: Tomaz Canabrava <tcanabrava@kde.org>
Diffstat (limited to 'desktop-widgets/mainwindow.cpp')
-rw-r--r-- | desktop-widgets/mainwindow.cpp | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/desktop-widgets/mainwindow.cpp b/desktop-widgets/mainwindow.cpp index 12c33566b..6c0b42c9d 100644 --- a/desktop-widgets/mainwindow.cpp +++ b/desktop-widgets/mainwindow.cpp @@ -54,6 +54,7 @@ #include "desktop-widgets/updatemanager.h" #include "desktop-widgets/usersurvey.h" #include "desktop-widgets/filterwidget2.h" +#include "desktop-widgets/simplewidgets.h" #include "profile-widget/profilewidget2.h" @@ -205,8 +206,6 @@ MainWindow::MainWindow() : QMainWindow(), setStateProperties("FilterDive", enabledList, enabledList, enabledList, enabledList); setApplicationState("Default"); - ui.multiFilter->hide(); - setWindowIcon(QIcon(":subsurface-icon")); if (!QIcon::hasThemeIcon("window-close")) { QIcon::setThemeName("subsurface"); @@ -497,10 +496,6 @@ void MainWindow::refreshDisplay(bool doRecreateDiveList) void MainWindow::recreateDiveList() { diveList->reload(); - TagFilterModel::instance()->repopulate(); - BuddyFilterModel::instance()->repopulate(); - LocationFilterModel::instance()->repopulate(); - SuitsFilterModel::instance()->repopulate(); MultiFilterSortModel::instance()->myInvalidate(); } |