Commit 47e33947 authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Search plugin in pim<version>

parent 939d98bf
Pipeline #185883 passed with stage
in 3 minutes and 45 seconds
......@@ -89,7 +89,8 @@ void PublishDialogPrivate::openAddressbook()
QPointer<Akonadi::AbstractEmailAddressSelectionDialog> dialog;
const KPluginMetaData editWidgetPlugin(QStringLiteral("akonadi/emailaddressselectionldapdialogplugin"));
const KPluginMetaData editWidgetPlugin(QStringLiteral("pim" QT_STRINGIFY(QT_VERSION_MAJOR))
+ QStringLiteral("/akonadi/emailaddressselectionldapdialogplugin"));
const auto result = KPluginFactory::instantiatePlugin<Akonadi::AbstractEmailAddressSelectionDialog>(editWidgetPlugin, q);
if (result) {
Supports Markdown
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