From f3515ea64a3987ba39a6e0771060a404b7e88c0c Mon Sep 17 00:00:00 2001 From: jan Iversen Date: Thu, 2 Jan 2020 18:34:12 +0100 Subject: desktop-widgets: remove double connect. No need to connect ui.display_variations to the same signal/slot twice. Signed-off-by: Jan Iversen --- desktop-widgets/diveplanner.cpp | 1 - 1 file changed, 1 deletion(-) (limited to 'desktop-widgets/diveplanner.cpp') diff --git a/desktop-widgets/diveplanner.cpp b/desktop-widgets/diveplanner.cpp index d72af0433..ce00a01c7 100644 --- a/desktop-widgets/diveplanner.cpp +++ b/desktop-widgets/diveplanner.cpp @@ -468,7 +468,6 @@ PlannerSettingsWidget::PlannerSettingsWidget(QWidget *parent, Qt::WindowFlags f) connect(ui.display_duration, &QAbstractButton::toggled, plannerShared::instance(), &plannerShared::set_display_duration); connect(ui.display_runtime, &QAbstractButton::toggled, plannerShared::instance(), &plannerShared::set_display_runtime); connect(ui.display_transitions, &QAbstractButton::toggled, plannerShared::instance(), &plannerShared::set_display_transitions); - connect(ui.display_variations, &QAbstractButton::toggled, plannerShared::instance(), &plannerShared::set_display_variations); connect(ui.safetystop, &QAbstractButton::toggled, plannerShared::instance(), &plannerShared::set_safetystop); connect(ui.reserve_gas, SIGNAL(valueChanged(int)), plannerShared::instance(), SLOT(set_reserve_gas(int))); connect(ui.ascRate75, SIGNAL(valueChanged(int)), plannerModel, SLOT(setAscrate75(int))); -- cgit v1.2.3-70-g09d2