aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar jan Iversen <jan@casacondor.com>2020-01-02 15:58:43 +0100
committerGravatar Dirk Hohndel <dirk@hohndel.org>2020-01-06 10:34:42 +0900
commitc89a357e845a1306616fbad563dd6b18881200b4 (patch)
tree14ad38513e5eb55325fa25edf197209ea2c1b305
parentdacb331347b41e847585b264779a560c1277d6ea (diff)
downloadsubsurface-c89a357e845a1306616fbad563dd6b18881200b4.tar.gz
desktop-widgets: correct set_min_switch_duration connect.
correct SLOT was set_min_swich_duration()(int), which is not reported as an error. Signed-off-by: Jan Iversen <jan@casacondor.com>
-rw-r--r--desktop-widgets/diveplanner.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/desktop-widgets/diveplanner.cpp b/desktop-widgets/diveplanner.cpp
index 55a838510..8fe64f0fb 100644
--- a/desktop-widgets/diveplanner.cpp
+++ b/desktop-widgets/diveplanner.cpp
@@ -484,7 +484,7 @@ PlannerSettingsWidget::PlannerSettingsWidget(QWidget *parent, Qt::WindowFlags f)
connect(ui.bailout, SIGNAL(toggled(bool)), plannerShared::instance(), SLOT(set_dobailout(bool)));
connect(ui.o2narcotic, SIGNAL(toggled(bool)), plannerShared::instance(), SLOT(set_o2narcotic(bool)));
connect(ui.switch_at_req_stop, SIGNAL(toggled(bool)), plannerShared::instance(), SLOT(set_switch_at_req_stop(bool)));
- connect(ui.min_switch_duration, SIGNAL(valueChanged(int)), plannerShared::instance(), SLOT(set_min_switch_duration()(int)));
+ connect(ui.min_switch_duration, SIGNAL(valueChanged(int)), plannerShared::instance(), SLOT(set_min_switch_duration(int)));
connect(ui.surface_segment, SIGNAL(valueChanged(int)), plannerModel, SLOT(setSurfaceSegment(int)));
connect(ui.rebreathermode, SIGNAL(currentIndexChanged(int)), plannerModel, SLOT(setRebreatherMode(int)));
connect(ui.rebreathermode, SIGNAL(currentIndexChanged(int)), this, SLOT(setBailoutVisibility(int)));