mobile/models: add access to tags string

We already allow filtering by tags, but don't even show them on mobile.
That seems rather inconsistent.
First step is to make the tags available to the QML layer.

Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
Dirk Hohndel 2020-05-11 07:13:01 -07:00
parent 6f96edd766
commit 4db79c8db9
3 changed files with 3 additions and 0 deletions

View file

@ -33,6 +33,7 @@ QHash<int, QByteArray> MobileListModelBase::roleNames() const
roles[SumWeightRole] = "sumWeight";
roles[DiveMasterRole] = "diveMaster";
roles[BuddyRole] = "buddy";
roles[TagsRole] = "tags";
roles[NotesRole]= "notes";
roles[GpsRole] = "gps";
roles[GpsDecimalRole] = "gpsDecimal";