Skip to content

Commit

Permalink
Changing connect signal/slot position
Browse files Browse the repository at this point in the history
  • Loading branch information
erinharrington-12 committed Jan 25, 2024
1 parent b35fc91 commit ed55ee9
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/Create3Widget.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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)), this, SLOT(toggleChanged()));

ui->create3IP->setText(getIP());

QStringList arguments;
Expand All @@ -66,6 +66,10 @@ Create3Widget::Create3Widget(Device *device, QWidget *parent)
{
ui->toggleSwitch->setChecked(true);
}



connect(ui->toggleSwitch, SIGNAL(stateChanged(int)), this, SLOT(toggleChanged()));
}

Create3Widget::~Create3Widget()
Expand Down

0 comments on commit ed55ee9

Please sign in to comment.