Commit 1d9d5fb4 authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Install plugins in pim<version>

parent 23ce24e9
Pipeline #184080 passed with stage
in 7 minutes and 28 seconds
# SPDX-License-Identifier: CC0-1.0
# SPDX-FileCopyrightText: none
cmake_minimum_required(VERSION 3.16 FATAL_ERROR)
set(PIM_VERSION "5.20.40")
set(PIM_VERSION "5.20.41")
project(eventviews VERSION ${PIM_VERSION})
......
......@@ -422,7 +422,8 @@ void AgendaHeader::loadDecorations(const QStringList &decorations, const QString
CalendarDecoration::Decoration *AgendaHeader::loadCalendarDecoration(const QString &name)
{
auto result = KPluginFactory::instantiatePlugin<CalendarDecoration::Decoration>(KPluginMetaData(QLatin1String("korganizer/") + name));
auto result = KPluginFactory::instantiatePlugin<CalendarDecoration::Decoration>(
KPluginMetaData(QStringLiteral("pim" QT_STRINGIFY(QT_VERSION_MAJOR)) + QStringLiteral("/korganizer/") + name));
if (result) {
return result.plugin;
......
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