Commit 3780d63d authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Remove some qOverload as we remove deprecated qt5.15 signal

parent 8072f1b3
Pipeline #82753 canceled with stage
......@@ -39,7 +39,7 @@ QWidget *FilterActionAddTag::createParamWidget(QWidget *parent) const
}
setParamWidgetValue(mComboBox);
connect(mComboBox, qOverload<int>(&QComboBox::currentIndexChanged), this, &FilterActionAddTag::filterActionModified);
connect(mComboBox, &QComboBox::currentIndexChanged, this, &FilterActionAddTag::filterActionModified);
return mComboBox;
}
......
......@@ -152,11 +152,11 @@ FilterActionWidget::FilterActionWidget(QWidget *parent)
setFocusProxy(d->mComboBox);
// now connect the combo box and the widget stack
connect(d->mComboBox, qOverload<int>(&QComboBox::activated), this, [this](int index) {
connect(d->mComboBox, &QComboBox::activated, this, [this](int index) {
d->slotFilterTypeChanged(index);
});
connect(d->mComboBox, qOverload<int>(&QComboBox::activated), this, &FilterActionWidget::filterModified);
connect(d->mComboBox, &QComboBox::activated, this, &FilterActionWidget::filterModified);
connect(d->mAdd, &QPushButton::clicked, this, [this]() {
d->slotAddWidget();
......
......@@ -24,7 +24,7 @@ QWidget *FilterActionWithStringList::createParamWidget(QWidget *parent) const
comboBox->setEditable(false);
comboBox->addItems(mParameterList);
setParamWidgetValue(comboBox);
connect(comboBox, qOverload<int>(&QComboBox::currentIndexChanged), this, &FilterActionWithStringList::filterActionModified);
connect(comboBox, &QComboBox::currentIndexChanged, this, &FilterActionWithStringList::filterActionModified);
return comboBox;
}
......
......@@ -62,7 +62,7 @@ SnippetWidget::SnippetWidget(QWidget *parent)
Q_EMIT textChanged(str);
d->wasChanged = true;
});
connect(d->mUi.groupBox, qOverload<int>(&QComboBox::currentIndexChanged), this, [this](int index) {
connect(d->mUi.groupBox, &QComboBox::currentIndexChanged, this, [this](int index) {
Q_EMIT groupChanged(index);
d->wasChanged = true;
});
......
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