Return a value when getting SAC rate
Obvious "mass edit" error. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
eef5bf75c3
commit
6faf33047e
@ -176,7 +176,7 @@ QString DiveObjectHelper::sac() const
|
||||
const char *unit;
|
||||
int decimal;
|
||||
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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user