From 8f7633eff867e7d5437f9caf24e82f581bf624c0 Mon Sep 17 00:00:00 2001 From: Dirk Hohndel Date: Tue, 16 Oct 2018 07:56:41 -0400 Subject: Mobile/filtering: full text filter, instead of just dive site Signed-off-by: Dirk Hohndel --- core/subsurface-qt/DiveObjectHelper.cpp | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'core/subsurface-qt/DiveObjectHelper.cpp') diff --git a/core/subsurface-qt/DiveObjectHelper.cpp b/core/subsurface-qt/DiveObjectHelper.cpp index a4d05f0ca..46809b403 100644 --- a/core/subsurface-qt/DiveObjectHelper.cpp +++ b/core/subsurface-qt/DiveObjectHelper.cpp @@ -434,3 +434,9 @@ QStringList DiveObjectHelper::firstGas() const } return gas; } + +// for a full text search / filter function +QString DiveObjectHelper::fullText() const +{ + return trip() + location() + buddy() + divemaster() + suit() + tags(); +} -- cgit v1.2.3-70-g09d2