mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
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>
This commit is contained in:
parent
0f535620e4
commit
a9b030ed44
2 changed files with 2 additions and 12 deletions
|
@ -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()
|
||||
{
|
||||
}
|
||||
|
|
|
@ -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:
|
||||
|
|
Loading…
Add table
Reference in a new issue