mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
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:
parent
6f96edd766
commit
4db79c8db9
3 changed files with 3 additions and 0 deletions
|
@ -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";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue