Commit 8adb341f authored by David Faure's avatar David Faure

Fix compilation with more recent Qt 5.15

commit 46ebd11e66f6f in qtbase removed the (int, QString) overload again and
un-deprecated the int overload.
parent 25ed39f5
......@@ -190,11 +190,7 @@ VacationEditWidget::VacationEditWidget(QWidget *parent)
mMailAction->addItem(VacationUtils::mailAction(static_cast<VacationUtils::MailAction>(i)));
}
mMailAction->setObjectName(QStringLiteral("mMailAction"));
#if QT_VERSION < QT_VERSION_CHECK(5, 15, 0)
connect(mMailAction, QOverload<int>::of(&QComboBox::currentIndexChanged), this, &VacationEditWidget::mailActionChanged);
#else
connect(mMailAction, QOverload<int, const QString &>::of(&QComboBox::currentIndexChanged), this, &VacationEditWidget::mailActionChanged);
#endif
//Add imap select folder plugin here.
mMailActionRecipient = new VacationMailActionWidget(this);
......
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