diff options
Diffstat (limited to 'core/subsurface-qt/DiveObjectHelper.cpp')
-rw-r--r-- | core/subsurface-qt/DiveObjectHelper.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
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(); +} |