diff options
Diffstat (limited to 'core/subsurface-qt')
-rw-r--r-- | core/subsurface-qt/DiveObjectHelper.cpp | 7 | ||||
-rw-r--r-- | core/subsurface-qt/DiveObjectHelper.h | 1 |
2 files changed, 0 insertions, 8 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; diff --git a/core/subsurface-qt/DiveObjectHelper.h b/core/subsurface-qt/DiveObjectHelper.h index fe6539caf..c5662433c 100644 --- a/core/subsurface-qt/DiveObjectHelper.h +++ b/core/subsurface-qt/DiveObjectHelper.h @@ -78,7 +78,6 @@ public: QString suit() const; QStringList cylinderList() const; QStringList cylinders() const; - QString cylinder(int idx) const; QVector<CylinderObjectHelper> cylinderObjects() const; int maxcns() const; int otu() const; |