[calendar] Use correct plugin IID for filtering
With moving the plugin to KDeclarative, the namespace got changed but it was forgotten to change the plugins filter
This commit is contained in:
parent
e757ebb483
commit
c84e591b96
@ -147,7 +147,7 @@ EventPluginsManager::EventPluginsManager(QObject *parent)
|
|||||||
const QString absolutePath = dir.absoluteFilePath(fileName);
|
const QString absolutePath = dir.absoluteFilePath(fileName);
|
||||||
QPluginLoader loader(absolutePath);
|
QPluginLoader loader(absolutePath);
|
||||||
// Load only our own plugins
|
// Load only our own plugins
|
||||||
if (loader.metaData().value(QStringLiteral("IID")) == QLatin1String("org.kde.plasma.CalendarEventsPlugin")) {
|
if (loader.metaData().value(QStringLiteral("IID")) == QLatin1String("org.kde.CalendarEventsPlugin")) {
|
||||||
m_availablePlugins.insert(absolutePath, loader.metaData());
|
m_availablePlugins.insert(absolutePath, loader.metaData());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user