mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
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
1 changed files with 0 additions and 2 deletions
|
@ -103,11 +103,9 @@ void MainTab::updateDiveInfo(int dive)
|
||||||
ui->airPressureText->setText(QString("%1mbar").arg(d->surface_pressure.mbar));
|
ui->airPressureText->setText(QString("%1mbar").arg(d->surface_pressure.mbar));
|
||||||
else
|
else
|
||||||
ui->airPressureText->setText(QString(""));
|
ui->airPressureText->setText(QString(""));
|
||||||
#if 0 /* this fails to link, even though the function is defined in statistics.c / statistics.h */
|
|
||||||
if (d)
|
if (d)
|
||||||
ui->gasUsedText->setText(get_volume_string(get_gas_used(d), TRUE));
|
ui->gasUsedText->setText(get_volume_string(get_gas_used(d), TRUE));
|
||||||
else
|
else
|
||||||
#endif
|
|
||||||
ui->gasUsedText->setText("");
|
ui->gasUsedText->setText("");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue