Mobile/filtering: add fullTextNoNotes role to the dive list model

This way we can filter with and without the notes.

Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
Dirk Hohndel 2018-10-19 21:16:50 -04:00
parent 40536286d2
commit 17347f5110
2 changed files with 4 additions and 1 deletions

View file

@ -30,7 +30,8 @@ public:
enum DiveListRoles {
DiveRole = Qt::UserRole + 1,
DiveDateRole,
FullTextRole
FullTextRole,
FullTextNoNotesRole
};
static DiveListModel *instance();