From 4e0200863b876d3dab750711bfe1c8facba94f55 Mon Sep 17 00:00:00 2001 From: Joakim Bygdell Date: Mon, 29 Aug 2016 21:35:06 +0200 Subject: Remove hacks regarding multiple gasmixes and cylinders Enabling cylinder edit in Subsurface-mobile our previous hacks regarding multiple cylinders and gasmixes must be removed. Signed-off-by: Joakim Bygdell Signed-off-by: Dirk Hohndel --- core/subsurface-qt/DiveObjectHelper.cpp | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) (limited to 'core') diff --git a/core/subsurface-qt/DiveObjectHelper.cpp b/core/subsurface-qt/DiveObjectHelper.cpp index 87fae7c06..ab95b0c57 100644 --- a/core/subsurface-qt/DiveObjectHelper.cpp +++ b/core/subsurface-qt/DiveObjectHelper.cpp @@ -373,13 +373,7 @@ QString DiveObjectHelper::sumWeight() const QString DiveObjectHelper::getCylinder() const { - QString getCylinder; - if (is_cylinder_used(m_dive, 1)){ - getCylinder = QObject::tr("Multiple"); - } - else { - getCylinder = m_dive->cylinder[0].type.description; - } + QString getCylinder = m_dive->cylinder[0].type.description; return getCylinder; } -- cgit v1.2.3-70-g09d2