diff options
Diffstat (limited to 'core/subsurface-qt/DiveObjectHelper.cpp')
-rw-r--r-- | core/subsurface-qt/DiveObjectHelper.cpp | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/core/subsurface-qt/DiveObjectHelper.cpp b/core/subsurface-qt/DiveObjectHelper.cpp index 2825f1fe0..d7d92ee90 100644 --- a/core/subsurface-qt/DiveObjectHelper.cpp +++ b/core/subsurface-qt/DiveObjectHelper.cpp @@ -391,15 +391,3 @@ QStringList DiveObjectHelper::firstGas() const } return gas; } - -// for a full text search / filter function -QString DiveObjectHelper::fullText() const -{ - return fullTextNoNotes() + ":-:" + notes(); -} - -QString DiveObjectHelper::fullTextNoNotes() const -{ - QString tripLocation = m_dive->divetrip ? m_dive->divetrip->location : QString(); - return tripLocation + ":-:" + location() + ":-:" + buddy() + ":-:" + divemaster() + ":-:" + suit() + ":-:" + tags(); -} |