mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
mobile models: add trip location and notes
First step towards making those accessible and then editable. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
9e13777cc1
commit
028807ebc5
3 changed files with 6 additions and 0 deletions
|
@ -103,6 +103,8 @@ QVariant DiveTripModelBase::tripData(const dive_trip *trip, int column, int role
|
|||
case MobileListModel::TripNrDivesRole: return trip->dives.nr;
|
||||
case MobileListModel::TripShortDateRole: return tripShortDate(trip);
|
||||
case MobileListModel::TripTitleRole: return tripTitle(trip);
|
||||
case MobileListModel::TripLocationRole: return QString(trip->location);
|
||||
case MobileListModel::TripNotesRole: return QString(trip->notes);
|
||||
}
|
||||
#endif
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue