Commit 8d4c313d authored by Laurent Montel's avatar Laurent Montel 😁

Port to new connect api

parent 4d3f178e
......@@ -129,7 +129,7 @@ TestScriptWidget::TestScriptWidget(QWidget *parent)
mScriptCombo = new QComboBox;
connect(mScriptCombo, SIGNAL(currentIndexChanged(int)), this, SLOT(slotCurrentIndexChanged(int)));
connect(mScriptCombo, static_cast<void (QComboBox::*)(int)>(&QComboBox::currentIndexChanged), this, &TestScriptWidget::slotCurrentIndexChanged);
mScriptEdit = new QTextEdit;
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment