summaryrefslogtreecommitdiffstats
path: root/desktop-widgets/tab-widgets/TabDiveSite.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'desktop-widgets/tab-widgets/TabDiveSite.cpp')
-rw-r--r--desktop-widgets/tab-widgets/TabDiveSite.cpp7
1 files changed, 1 insertions, 6 deletions
diff --git a/desktop-widgets/tab-widgets/TabDiveSite.cpp b/desktop-widgets/tab-widgets/TabDiveSite.cpp
index 7deff3d9d..ee232b703 100644
--- a/desktop-widgets/tab-widgets/TabDiveSite.cpp
+++ b/desktop-widgets/tab-widgets/TabDiveSite.cpp
@@ -95,14 +95,9 @@ QVector<dive_site *> TabDiveSite::selectedDiveSites()
return sites;
}
-void TabDiveSite::updateFilter()
-{
- MultiFilterSortModel::instance()->setFilterDiveSite(selectedDiveSites());
-}
-
void TabDiveSite::selectionChanged(const QItemSelection &, const QItemSelection &)
{
- updateFilter();
+ MultiFilterSortModel::instance()->setFilterDiveSite(selectedDiveSites());
}
void TabDiveSite::showEvent(QShowEvent *)