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) ...@@ -129,7 +129,7 @@ TestScriptWidget::TestScriptWidget(QWidget *parent)
mScriptCombo = new QComboBox; mScriptCombo = new QComboBox;
vScriptLayout->addWidget(mScriptCombo); vScriptLayout->addWidget(mScriptCombo);
fillScriptCombo(mScriptCombo); fillScriptCombo(mScriptCombo);
connect(mScriptCombo, SIGNAL(currentIndexChanged(int)), this, SLOT(slotCurrentIndexChanged(int))); connect(mScriptCombo, static_cast<void (QComboBox::*)(int)>(&QComboBox::currentIndexChanged), this, &TestScriptWidget::slotCurrentIndexChanged);
mScriptEdit = new QTextEdit; mScriptEdit = new QTextEdit;
mScriptEdit->setAcceptRichText(false); mScriptEdit->setAcceptRichText(false);
......
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