diff options
author | Dirk Hohndel <dirk@hohndel.org> | 2019-11-11 21:34:22 -0800 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2020-03-09 12:41:11 -0700 |
commit | 30d242efc097de495d2331bc147ca0dfa703f96d (patch) | |
tree | 89a1d75f75a0a4b7c59d289b2ae3753e3f138477 /qt-models | |
parent | 89f84578570112dc82cc194c3b0daedd5e660bc5 (diff) | |
download | subsurface-30d242efc097de495d2331bc147ca0dfa703f96d.tar.gz |
mobile/divelist: trip date and title roles for new model
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-models')
-rw-r--r-- | qt-models/mobilelistmodel.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/qt-models/mobilelistmodel.cpp b/qt-models/mobilelistmodel.cpp index 79d4dcdaf..87248ce3f 100644 --- a/qt-models/mobilelistmodel.cpp +++ b/qt-models/mobilelistmodel.cpp @@ -38,6 +38,8 @@ QHash<int, QByteArray> MobileListModel::roleNames() const roles[DiveDateRole] = "date"; roles[TripIdRole] = "tripId"; roles[TripNrDivesRole] = "tripNrDives"; + roles[TripShortDateRole] = "tripShortDate"; + roles[TripTitleRole] = "tripTitle"; roles[DateTimeRole] = "dateTime"; roles[IdRole] = "id"; roles[NumberRole] = "number"; |