Cleanup: remove unused function DiveObjectHelper::weight(int)

Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
This commit is contained in:
Berthold Stoeger 2019-08-13 22:07:40 +02:00 committed by bstoeger
parent 461c610a3d
commit fcacfd7ce6
2 changed files with 0 additions and 8 deletions

View file

@ -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();

View file

@ -74,7 +74,6 @@ public:
QString sac() const;
QString weightList() const;
QStringList weights() const;
QString weight(int idx) const;
bool singleWeight() const;
QString suit() const;
QStringList cylinderList() const;