Enable the code that was #if 0'ed out
Linking error is fixed. Signed-off-by: Thiago Macieira <thiago@macieira.org> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
265376db06
commit
5e4f06e6ad
@ -103,11 +103,9 @@ void MainTab::updateDiveInfo(int dive)
|
||||
ui->airPressureText->setText(QString("%1mbar").arg(d->surface_pressure.mbar));
|
||||
else
|
||||
ui->airPressureText->setText(QString(""));
|
||||
#if 0 /* this fails to link, even though the function is defined in statistics.c / statistics.h */
|
||||
if (d)
|
||||
ui->gasUsedText->setText(get_volume_string(get_gas_used(d), TRUE));
|
||||
else
|
||||
#endif
|
||||
ui->gasUsedText->setText("");
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user