Remove unused variable

Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
Dirk Hohndel 2014-06-27 12:13:27 -07:00
parent a8a9deb262
commit 259b73335f

View file

@ -306,8 +306,6 @@ void DivePlannerPointsModel::addCylinder_clicked()
void DivePlannerWidget::atmPressureChanged(const int pressure)
{
const char *depthunit;
plannerModel->setSurfacePressure(pressure);
ui.atmHeight->blockSignals(true);
ui.atmHeight->setValue((int) get_depth_units((int)(log(1013.0 / pressure) * 7800000), NULL,NULL));