From 30d242efc097de495d2331bc147ca0dfa703f96d Mon Sep 17 00:00:00 2001 From: Dirk Hohndel Date: Mon, 11 Nov 2019 21:34:22 -0800 Subject: mobile/divelist: trip date and title roles for new model Signed-off-by: Dirk Hohndel --- qt-models/mobilelistmodel.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'qt-models/mobilelistmodel.cpp') 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 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"; -- cgit v1.2.3-70-g09d2