Commit a00db8f7 authored by Nicolas Fella's avatar Nicolas Fella
Browse files

Load parts from correct directory for KF6

parent 4cb623eb
Pipeline #260775 passed with stage
in 52 seconds
......@@ -53,7 +53,7 @@ KompareShell::KompareShell()
setupActions();
setupStatusBar();
const auto viewPartLoadResult = KPluginFactory::instantiatePlugin<KParts::ReadWritePart>(KPluginMetaData(QStringLiteral("kf5/parts/komparepart")), this);
const auto viewPartLoadResult = KPluginFactory::instantiatePlugin<KParts::ReadWritePart>(KPluginMetaData(QStringLiteral("kf" QT_STRINGIFY(QT_VERSION_MAJOR) "/parts/komparepart")), this);
if (viewPartLoadResult)
{
......@@ -75,7 +75,7 @@ KompareShell::KompareShell()
// This part is implemented in KompareNavTreePart
const auto navPartLoadResult = KPluginFactory::instantiatePlugin<KParts::ReadOnlyPart>(KPluginMetaData(QStringLiteral("kf5/parts/komparenavtreepart")), m_navTreeDock);
const auto navPartLoadResult = KPluginFactory::instantiatePlugin<KParts::ReadOnlyPart>(KPluginMetaData(QStringLiteral("kf" QT_STRINGIFY(QT_VERSION_MAJOR) "/parts/komparenavtreepart")), m_navTreeDock);
if (navPartLoadResult)
{
......
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