Commit c28e2024 authored by Laurent Montel's avatar Laurent Montel 😁

Connect to new api

parent efbd6a91
......@@ -227,7 +227,7 @@ KMMainWidget::KMMainWidget(QWidget *parent, KXMLGUIClient *aGUIClient, KActionCo
mFavoritesModel = nullptr;
mSievePasswordProvider = new KMSieveImapPasswordProvider(winId());
mVacationManager = new KSieveUi::VacationManager(mSievePasswordProvider, this);
connect(mVacationManager, SIGNAL(updateVacationScriptStatus(bool,QString)), SLOT(updateVacationScriptStatus(bool,QString)));
connect(mVacationManager, &KSieveUi::VacationManager::updateVacationScriptStatus, this, QOverload<bool, const QString &>::of(&KMMainWidget::updateVacationScriptStatus));
mToolbarActionSeparator = new QAction(this);
mToolbarActionSeparator->setSeparator(true);
......
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