summaryrefslogtreecommitdiffstats
path: root/desktop-widgets/tab-widgets/TabDiveSite.cpp
diff options
context:
space:
mode:
authorGravatar Berthold Stoeger <bstoeger@mail.tuwien.ac.at>2019-03-24 17:11:29 +0100
committerGravatar Dirk Hohndel <dirk@hohndel.org>2019-04-12 18:19:07 +0300
commit22fe0c14e885161ae9a18a00b71283a77679d06c (patch)
treeca8c6bff95de31442b72a400d2c4a26190cc4606 /desktop-widgets/tab-widgets/TabDiveSite.cpp
parent9afea37e15db29f59048d1bc2553838943ca1b62 (diff)
downloadsubsurface-22fe0c14e885161ae9a18a00b71283a77679d06c.tar.gz
Dive sites: add fulltext filter
In the dive site tab, add a fulltext filter. The UI is only a mock up. Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
Diffstat (limited to 'desktop-widgets/tab-widgets/TabDiveSite.cpp')
-rw-r--r--desktop-widgets/tab-widgets/TabDiveSite.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/desktop-widgets/tab-widgets/TabDiveSite.cpp b/desktop-widgets/tab-widgets/TabDiveSite.cpp
index dc0b6be67..816835dd3 100644
--- a/desktop-widgets/tab-widgets/TabDiveSite.cpp
+++ b/desktop-widgets/tab-widgets/TabDiveSite.cpp
@@ -74,3 +74,8 @@ void TabDiveSite::on_purgeUnused_clicked()
{
Command::purgeUnusedDiveSites();
}
+
+void TabDiveSite::on_filterText_textChanged(const QString &text)
+{
+ model.setFilter(text);
+}