From f9c97ff97d072d6a4cb934a50427dc69382281e0 Mon Sep 17 00:00:00 2001 From: Dirk Hohndel Date: Thu, 2 May 2013 10:48:09 -0700 Subject: Show cylinder and gas used in the Qt dive list Signed-off-by: Dirk Hohndel --- qt-ui/models.cpp | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/qt-ui/models.cpp b/qt-ui/models.cpp index 12a0398a0..68f575ec8 100644 --- a/qt-ui/models.cpp +++ b/qt-ui/models.cpp @@ -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; -- cgit v1.2.3-70-g09d2