aboutsummaryrefslogtreecommitdiffstats
path: root/desktop-widgets/diveplanner.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'desktop-widgets/diveplanner.cpp')
-rw-r--r--desktop-widgets/diveplanner.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/desktop-widgets/diveplanner.cpp b/desktop-widgets/diveplanner.cpp
index 3ad76114e..d31fc7ffb 100644
--- a/desktop-widgets/diveplanner.cpp
+++ b/desktop-widgets/diveplanner.cpp
@@ -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)