summaryrefslogtreecommitdiffstats
path: root/desktop-widgets/tab-widgets/TabDiveSite.h
diff options
context:
space:
mode:
Diffstat (limited to 'desktop-widgets/tab-widgets/TabDiveSite.h')
-rw-r--r--desktop-widgets/tab-widgets/TabDiveSite.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/desktop-widgets/tab-widgets/TabDiveSite.h b/desktop-widgets/tab-widgets/TabDiveSite.h
index 1fdaeb989..2f831f71c 100644
--- a/desktop-widgets/tab-widgets/TabDiveSite.h
+++ b/desktop-widgets/tab-widgets/TabDiveSite.h
@@ -18,9 +18,13 @@ private slots:
void diveSiteChanged(struct dive_site *ds, int field);
void on_purgeUnused_clicked();
void on_filterText_textChanged(const QString &text);
+ void selectionChanged(const QItemSelection &selected, const QItemSelection &deselected);
private:
Ui::TabDiveSite ui;
DiveSiteSortedModel model;
+ void updateFilter();
+ void hideEvent(QHideEvent *) override;
+ void showEvent(QShowEvent *) override;
};
#endif