Return a value when getting SAC rate

Obvious "mass edit" error.

Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
Dirk Hohndel 2016-01-21 12:41:40 -08:00
parent eef5bf75c3
commit 6faf33047e

View file

@ -176,7 +176,7 @@ QString DiveObjectHelper::sac() const
const char *unit; const char *unit;
int decimal; int decimal;
double value = get_volume_units(m_dive->sac, &decimal, &unit); double value = get_volume_units(m_dive->sac, &decimal, &unit);
QString::number(value, 'f', decimal).append(unit); return QString::number(value, 'f', decimal).append(unit);
} }
QStringList DiveObjectHelper::weights() const QStringList DiveObjectHelper::weights() const