From 06974f1a2c601922ac9cdca01a87c3ed023cac5c Mon Sep 17 00:00:00 2001 From: Berthold Stoeger Date: Tue, 13 Aug 2019 22:14:02 +0200 Subject: Cleanup: remove unused function DiveObjectHelper::cylinder(int) Signed-off-by: Berthold Stoeger --- core/subsurface-qt/DiveObjectHelper.cpp | 7 ------- 1 file changed, 7 deletions(-) (limited to 'core/subsurface-qt/DiveObjectHelper.cpp') diff --git a/core/subsurface-qt/DiveObjectHelper.cpp b/core/subsurface-qt/DiveObjectHelper.cpp index 9bb356d38..f30ca0eab 100644 --- a/core/subsurface-qt/DiveObjectHelper.cpp +++ b/core/subsurface-qt/DiveObjectHelper.cpp @@ -292,13 +292,6 @@ QStringList DiveObjectHelper::cylinders() const return cylinders; } -QString DiveObjectHelper::cylinder(int idx) const -{ - if ( (idx < 0) || idx > MAX_CYLINDERS) - return QString(); - return getFormattedCylinder(m_dive, idx); -} - QVector DiveObjectHelper::cylinderObjects() const { QVector res; -- cgit v1.2.3-70-g09d2