Commit d0036182 authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Not necessary to use qOverload here

parent 3780d63d
Pipeline #82769 passed with stage
in 34 minutes
......@@ -18,7 +18,7 @@ SelectThunderbirdFilterFilesWidget::SelectThunderbirdFilterFilesWidget(const QSt
, ui(new Ui::SelectThunderbirdFilterFilesWidget)
{
ui->setupUi(this);
connect(ui->buttonGroup, qOverload<QAbstractButton *>(&QButtonGroup::buttonClicked), this, &SelectThunderbirdFilterFilesWidget::slotButtonClicked);
connect(ui->buttonGroup, &QButtonGroup::buttonClicked, this, &SelectThunderbirdFilterFilesWidget::slotButtonClicked);
connect(ui->profiles, qOverload<int>(&KComboBox::currentIndexChanged), this, &SelectThunderbirdFilterFilesWidget::slotProfileChanged);
ui->listFiles->setSelectionMode(QAbstractItemView::MultiSelection);
......
......@@ -613,7 +613,7 @@ void SearchPatternEdit::initLayout(SearchPatternEditOptions options, SearchModeT
}
//------------connect a few signals
connect(bg, qOverload<QAbstractButton *>(&QButtonGroup::buttonClicked), this, &SearchPatternEdit::slotRadioClicked);
connect(bg, &QButtonGroup::buttonClicked, this, &SearchPatternEdit::slotRadioClicked);
//------------the list of SearchRuleWidget's
mRuleLister = new SearchRuleWidgetLister(this, options, modeType);
......
Supports Markdown
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