From 8e74ce587622938283da4dfda14b0239a97f3028 Mon Sep 17 00:00:00 2001
From: "Robert C. Helling" <helling@atdotde.de>
Date: Sun, 29 Jun 2014 15:12:02 +0200
Subject: [PATCH] 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>
---
 qt-ui/diveplanner.cpp | 12 ++----------
 qt-ui/diveplanner.h   |  2 --
 2 files changed, 2 insertions(+), 12 deletions(-)

diff --git a/qt-ui/diveplanner.cpp b/qt-ui/diveplanner.cpp
index 9735fec..925f6d0 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()
 {
 }
diff --git a/qt-ui/diveplanner.h b/qt-ui/diveplanner.h
index 08a1ba5..4911a56 100644
--- a/qt-ui/diveplanner.h
+++ b/qt-ui/diveplanner.h
@@ -140,8 +140,6 @@ slots:
 	void settingsChanged();
 	void atmPressureChanged(const int pressure);
 	void heightChanged(const int height);
-	void bottomSacChanged(const int bottomSac);
-	void decoSacChanged(const int decosac);
 	void printDecoPlan();
 
 private:
-- 
1.8.5.2 (Apple Git-48)

