aboutsummaryrefslogtreecommitdiffstats
path: root/qt-ui
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2014-06-27 12:13:27 -0700
committerGravatar Dirk Hohndel <dirk@hohndel.org>2014-06-27 12:13:27 -0700
commit259b73335f3ba0597eb2bb21d948d33fcd61bbbe (patch)
treef25793307da96d43fe88a6fe9934a7f941099e46 /qt-ui
parenta8a9deb262dfe9af158e0faefabc4166d310d1b9 (diff)
downloadsubsurface-259b73335f3ba0597eb2bb21d948d33fcd61bbbe.tar.gz
Remove unused variable
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-ui')
-rw-r--r--qt-ui/diveplanner.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/qt-ui/diveplanner.cpp b/qt-ui/diveplanner.cpp
index 3f144db97..d2d2e2a8d 100644
--- a/qt-ui/diveplanner.cpp
+++ b/qt-ui/diveplanner.cpp
@@ -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));