aboutsummaryrefslogtreecommitdiffstats
path: root/qt-models/mobilelistmodel.cpp
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2019-11-11 21:34:22 -0800
committerGravatar Dirk Hohndel <dirk@hohndel.org>2020-03-09 12:41:11 -0700
commit30d242efc097de495d2331bc147ca0dfa703f96d (patch)
tree89a1d75f75a0a4b7c59d289b2ae3753e3f138477 /qt-models/mobilelistmodel.cpp
parent89f84578570112dc82cc194c3b0daedd5e660bc5 (diff)
downloadsubsurface-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/mobilelistmodel.cpp')
-rw-r--r--qt-models/mobilelistmodel.cpp2
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";