From 5e4f06e6ad2da553ac7b47bf6837d8053b888f6f Mon Sep 17 00:00:00 2001 From: Thiago Macieira Date: Mon, 6 May 2013 20:55:28 -0700 Subject: Enable the code that was #if 0'ed out Linking error is fixed. Signed-off-by: Thiago Macieira Signed-off-by: Dirk Hohndel --- qt-ui/maintab.cpp | 2 -- 1 file changed, 2 deletions(-) (limited to 'qt-ui/maintab.cpp') diff --git a/qt-ui/maintab.cpp b/qt-ui/maintab.cpp index 5f668b2be..89501fc07 100644 --- a/qt-ui/maintab.cpp +++ b/qt-ui/maintab.cpp @@ -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(""); } -- cgit v1.2.3-70-g09d2