diff options
author | jan Iversen <jan@casacondor.com> | 2020-01-02 18:34:12 +0100 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2020-01-06 10:34:42 +0900 |
commit | f3515ea64a3987ba39a6e0771060a404b7e88c0c (patch) | |
tree | 478c010567555087c1fabfa628b5cc3068b87765 | |
parent | 7b2d746241b659d01e4447b224c36ee3408f5c8f (diff) | |
download | subsurface-f3515ea64a3987ba39a6e0771060a404b7e88c0c.tar.gz |
desktop-widgets: remove double connect.
No need to connect ui.display_variations to the
same signal/slot twice.
Signed-off-by: Jan Iversen <jan@casacondor.com>
-rw-r--r-- | desktop-widgets/diveplanner.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
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))); |