From a28af0402a60766699980dc9c46fbd9df5eff5bf Mon Sep 17 00:00:00 2001 From: Erin Date: Thu, 25 Jan 2024 15:24:24 -0600 Subject: [PATCH] Adding this to connect toggleSwitch --- src/Create3Widget.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Create3Widget.cpp b/src/Create3Widget.cpp index 58b25f59..db0cef75 100644 --- a/src/Create3Widget.cpp +++ b/src/Create3Widget.cpp @@ -43,7 +43,7 @@ Create3Widget::Create3Widget(Device *device, QWidget *parent) // connect(ui->ResetServerButton, SIGNAL(clicked()), SLOT(resetServer())); connect(ui->Create3SensorListButton, SIGNAL(clicked()), SLOT(sensorList())); connect(ui->Create3ExampleProgramButton, SIGNAL(clicked()), SLOT(exampleList())); - connect(ui->toggleSwitch, SIGNAL(stateChanged(int)), SLOT(toggleChanged())); + connect(ui->toggleSwitch, SIGNAL(stateChanged(int)), this, SLOT(toggleChanged())); ui->create3IP->setText(getIP()); QStringList arguments;