diff options
Diffstat (limited to 'desktop-widgets/diveplanner.cpp')
-rw-r--r-- | desktop-widgets/diveplanner.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/desktop-widgets/diveplanner.cpp b/desktop-widgets/diveplanner.cpp index 927e31613..76db75694 100644 --- a/desktop-widgets/diveplanner.cpp +++ b/desktop-widgets/diveplanner.cpp @@ -470,11 +470,11 @@ PlannerSettingsWidget::PlannerSettingsWidget(QWidget *parent, Qt::WindowFlags f) connect(ui.lastStop, SIGNAL(toggled(bool)), plannerShared::instance(), SLOT(set_last_stop(bool))); connect(ui.lastStop, SIGNAL(toggled(bool)), this, SLOT(disableBackgasBreaks(bool))); - connect(ui.verbatim_plan, SIGNAL(toggled(bool)), plannerModel, SLOT(setVerbatim(bool))); - connect(ui.display_duration, SIGNAL(toggled(bool)), plannerModel, SLOT(setDisplayDuration(bool))); - connect(ui.display_runtime, SIGNAL(toggled(bool)), plannerModel, SLOT(setDisplayRuntime(bool))); - connect(ui.display_transitions, SIGNAL(toggled(bool)), plannerModel, SLOT(setDisplayTransitions(bool))); - connect(ui.display_variations, SIGNAL(toggled(bool)), plannerModel, SLOT(setDisplayVariations(bool))); + connect(ui.verbatim_plan, SIGNAL(toggled(bool)), plannerModel, SLOT(set_verbatim_plan(bool))); + connect(ui.display_duration, SIGNAL(toggled(bool)), plannerShared::instance(), SLOT(set_display_duration(bool))); + connect(ui.display_runtime, SIGNAL(toggled(bool)), plannerShared::instance(), SLOT(set_display_runtime(bool))); + connect(ui.display_transitions, SIGNAL(toggled(bool)), plannerShared::instance(), SLOT(set_display_transitions(bool))); + connect(ui.display_variations, SIGNAL(toggled(bool)), plannerShared::instance(), SLOT(set_display_variations(bool))); connect(ui.safetystop, SIGNAL(toggled(bool)), plannerShared::instance(), SLOT(set_safetystop(bool))); connect(ui.reserve_gas, SIGNAL(valueChanged(int)), plannerShared::instance(), SLOT(set_reserve_gas(int))); connect(ui.ascRate75, SIGNAL(valueChanged(int)), plannerModel, SLOT(setAscrate75(int))); |