diff options
author | Robert C. Helling <helling@atdotde.de> | 2014-06-29 15:12:02 +0200 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2014-06-29 08:35:37 -0700 |
commit | a9b030ed44ea84ccbdae863ae00c2d4380706d44 (patch) | |
tree | 4d889fbd9d39a29a482a511574930e3d3460e8d5 /qt-ui/diveplanner.cpp | |
parent | 0f535620e43dd9edc6fb8e8cad01e0c5bce6f0eb (diff) | |
download | subsurface-a9b030ed44ea84ccbdae863ae00c2d4380706d44.tar.gz |
Fixed SAC in planner
When I moved the settings for SAC's from the planner to the plannerSettings widget
I forgot to move the corresponding methods from one class to the other.
This fixes the display of the gas consumption in the planner
Signed-off-by: Robert C. Helling <helling@atdotde.de>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-ui/diveplanner.cpp')
-rw-r--r-- | qt-ui/diveplanner.cpp | 12 |
1 files changed, 2 insertions, 10 deletions
diff --git a/qt-ui/diveplanner.cpp b/qt-ui/diveplanner.cpp index 9735fec36..925f6d00c 100644 --- a/qt-ui/diveplanner.cpp +++ b/qt-ui/diveplanner.cpp @@ -344,12 +344,12 @@ void DivePlannerWidget::heightChanged(const int height) plannerModel->setSurfacePressure(pressure); } -void DivePlannerWidget::bottomSacChanged(const int bottomSac) +void PlannerSettingsWidget::bottomSacChanged(const int bottomSac) { plannerModel->setBottomSac(bottomSac); } -void DivePlannerWidget::decoSacChanged(const int decosac) +void PlannerSettingsWidget::decoSacChanged(const int decosac) { plannerModel->setDecoSac(decosac); } @@ -421,14 +421,6 @@ void PlannerSettingsWidget::atmPressureChanged(const QString &pressure) { } -void PlannerSettingsWidget::bottomSacChanged(const int bottomSac) -{ -} - -void PlannerSettingsWidget::decoSacChanged(const int decosac) -{ -} - void PlannerSettingsWidget::printDecoPlan() { } |