summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMontel Laurent <[email protected]>2017-08-08 22:12:08 +0200
committerMontel Laurent <[email protected]>2017-08-08 22:12:08 +0200
commit3f58d70c01b1b550d42fccd77f4b4c84c4f2d969 (patch)
tree304870d50aef9ca4483facf0561d8da67cd7d922
parent6fb943b54329611c1895d3808933f0aa538a2602 (diff)
Use QOverload
-rw-r--r--src/manual/manualselectfilterpage.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/manual/manualselectfilterpage.cpp b/src/manual/manualselectfilterpage.cpp
index 0b68d96..1d857d3 100644
--- a/src/manual/manualselectfilterpage.cpp
+++ b/src/manual/manualselectfilterpage.cpp
@@ -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);