Commit 3f58d70c authored by Laurent Montel's avatar Laurent Montel 😁

Use QOverload

parent 6fb943b5
......@@ -57,7 +57,7 @@ ManualSelectFilterPage::ManualSelectFilterPage(QWidget *parent)
mWidget = new Ui::ManualSelectFilterPage;
mWidget->setupUi(this);
mWidget->mIntroSidebar->setPixmap(QStandardPaths::locate(QStandardPaths::GenericDataLocation, QStringLiteral("importwizard/pics/step1.png")));
connect(mWidget->mFilterCombo, static_cast<void (KComboBox::*)(int)>(&KComboBox::activated), this, &ManualSelectFilterPage::filterSelected);
connect(mWidget->mFilterCombo, QOverload<int>::of(&KComboBox::activated), this, &ManualSelectFilterPage::filterSelected);
addFilter(new MailImporter::FilterKMailArchive);
addFilter(new MailImporter::FilterMBox);
......
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