Commit 120a9647 authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Use qOverload directly (scripted)

parent 6cead5e4
Pipeline #77319 passed with stage
in 5 minutes and 55 seconds
......@@ -41,7 +41,7 @@ JobTrackerSearchWidget::JobTrackerSearchWidget(QWidget *parent)
mSelectColumn->addItem(QStringLiteral("Job Type"), 4);
mSelectColumn->addItem(QStringLiteral("State"), 5);
mSelectColumn->addItem(QStringLiteral("Info"), 6);
connect(mSelectColumn, QOverload<int>::of(&QComboBox::currentIndexChanged), this, &JobTrackerSearchWidget::slotColumnChanged);
connect(mSelectColumn, qOverload<int>(&QComboBox::currentIndexChanged), this, &JobTrackerSearchWidget::slotColumnChanged);
}
JobTrackerSearchWidget::~JobTrackerSearchWidget()
......
......@@ -101,7 +101,7 @@ SearchWidget::SearchWidget(QWidget *parent)
connect(button, &QPushButton::clicked, this, &SearchWidget::search);
connect(mDatabaseView, &QListView::activated, this, &SearchWidget::fetchItem);
connect(mStoreCombo, QOverload<int>::of(&KComboBox::currentIndexChanged), this, &SearchWidget::openStore);
connect(mStoreCombo, qOverload<int>(&KComboBox::currentIndexChanged), this, &SearchWidget::openStore);
openStore(0);
......
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