desktop-widgets: set_verbatim_plan should go through plannerShared.

Adjust connect() to use plannerShared, avoiding parameter convert
problem.

Signed-off-by: Jan Iversen <jan@casacondor.com>
This commit is contained in:
jan Iversen 2020-01-02 14:39:29 +01:00 committed by Dirk Hohndel
parent fa72288ca2
commit 2492b62ad4

View file

@ -464,7 +464,7 @@ 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(set_verbatim_plan(bool)));
connect(ui.verbatim_plan, SIGNAL(toggled(bool)), plannerShared::instance(), 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)));