mirror of
https://github.com/subsurface/subsurface.git
synced 2025-01-31 18:43:24 +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));
|
||||
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…
Add table
Reference in a new issue