aboutsummaryrefslogtreecommitdiffstats
path: root/core/subsurface-qt/DiveObjectHelper.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'core/subsurface-qt/DiveObjectHelper.cpp')
-rw-r--r--core/subsurface-qt/DiveObjectHelper.cpp8
1 files changed, 1 insertions, 7 deletions
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;
}