mirror of
https://github.com/subsurface/subsurface.git
synced 2024-11-28 05:00:20 +00:00
desktop-widgets: replace vars. qPrefDivePlanner -> plannerShared
change local doo2breaks to plannerShared and update connect. change signals to slots in plannerShared Signed-off-by: Jan Iversen <jan@casacondor.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
0a7e673c5f
commit
316e56f4f7
1 changed files with 1 additions and 2 deletions
|
@ -648,8 +648,7 @@ void PlannerSettingsWidget::setBestmixEND(int depth)
|
|||
|
||||
void PlannerSettingsWidget::setBackgasBreaks(bool dobreaks)
|
||||
{
|
||||
qPrefDivePlanner::instance()->set_doo2breaks(dobreaks);
|
||||
plannerModel->emitDataChanged();
|
||||
plannerShared::set_doo2breaks(dobreaks);
|
||||
}
|
||||
|
||||
void PlannerSettingsWidget::setO2narcotic(bool o2narcotic)
|
||||
|
|
Loading…
Reference in a new issue