mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
Show cylinder and gas used in the Qt dive list
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
63c5080561
commit
f9c97ff97d
1 changed files with 6 additions and 0 deletions
|
@ -470,6 +470,12 @@ QVariant DiveItem::data(int column, int role) const
|
|||
case SUIT:
|
||||
retVal = QString(dive->suit);
|
||||
break;
|
||||
case CYLINDER:
|
||||
retVal = QString(dive->cylinder[0].type.description);
|
||||
break;
|
||||
case NITROX:
|
||||
retVal = QString(get_nitrox_string(dive));
|
||||
break;
|
||||
case SAC:
|
||||
retVal = displaySac();
|
||||
break;
|
||||
|
|
Loading…
Add table
Reference in a new issue