aboutsummaryrefslogtreecommitdiffstats
path: root/core/subsurface-qt/DiveObjectHelper.cpp
diff options
context:
space:
mode:
authorGravatar Berthold Stoeger <bstoeger@mail.tuwien.ac.at>2019-08-13 22:14:02 +0200
committerGravatar bstoeger <32835590+bstoeger@users.noreply.github.com>2019-09-14 13:20:59 +0200
commit06974f1a2c601922ac9cdca01a87c3ed023cac5c (patch)
tree147639d90f8c377df8f30f677246b6c4e51ac805 /core/subsurface-qt/DiveObjectHelper.cpp
parentfcacfd7ce6135e943a747d44c6f9de05e76b4ade (diff)
downloadsubsurface-06974f1a2c601922ac9cdca01a87c3ed023cac5c.tar.gz
Cleanup: remove unused function DiveObjectHelper::cylinder(int)
Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
Diffstat (limited to 'core/subsurface-qt/DiveObjectHelper.cpp')
-rw-r--r--core/subsurface-qt/DiveObjectHelper.cpp7
1 files changed, 0 insertions, 7 deletions
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<CylinderObjectHelper> DiveObjectHelper::cylinderObjects() const
{
QVector<CylinderObjectHelper> res;