Commit 52107b6f authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Search plugins in pim<version>

parent f10a4ab5
Pipeline #185885 passed with stage
in 3 minutes and 16 seconds
......@@ -418,7 +418,8 @@ void IncidenceAttendee::insertAddresses(const KContacts::Addressee::List &list)
void IncidenceAttendee::slotSelectAddresses()
{
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, mParentWidget);
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