summaryrefslogtreecommitdiffstats
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.cpp7
1 files changed, 0 insertions, 7 deletions
diff --git a/core/subsurface-qt/DiveObjectHelper.cpp b/core/subsurface-qt/DiveObjectHelper.cpp
index 5b4fb72b3..9bb356d38 100644
--- a/core/subsurface-qt/DiveObjectHelper.cpp
+++ b/core/subsurface-qt/DiveObjectHelper.cpp
@@ -249,13 +249,6 @@ bool DiveObjectHelper::singleWeight() const
return m_dive->weightsystems.nr <= 1;
}
-QString DiveObjectHelper::weight(int idx) const
-{
- if ((idx < 0) || idx >= m_dive->weightsystems.nr)
- return QString();
- return getFormattedWeight(m_dive, idx);
-}
-
QString DiveObjectHelper::suit() const
{
return m_dive->suit ? m_dive->suit : QString();