core: add 'diveInTrip' role to underlying data model

This will allow us to offer differentiated options in the context menu.

Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
Dirk Hohndel 2020-02-19 14:05:09 -08:00
parent 56db02a685
commit 968278fe91
3 changed files with 3 additions and 0 deletions

View file

@ -46,6 +46,7 @@ QHash<int, QByteArray> MobileListModelBase::roleNames() const
roles[EndPressureRole] = "endPressure";
roles[FirstGasRole] = "firstGas";
roles[SelectedRole] = "selected";
roles[DiveInTripRole] = "diveInTrip";
return roles;
}