Mobile: remove full-text properties from DiveObjectHelper

These properties are not needed anymore, because the full text search
was decoupled from the DiveObjectHelper.

Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
This commit is contained in:
Berthold Stoeger 2019-08-13 20:35:40 +02:00 committed by bstoeger
parent 37a3daf2dd
commit b7cddcc737
4 changed files with 0 additions and 22 deletions

View file

@ -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();
}