[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:
Martin Klapetek 2015-11-17 19:04:08 -05:00
parent e757ebb483
commit c84e591b96

View File

@ -147,7 +147,7 @@ EventPluginsManager::EventPluginsManager(QObject *parent)
const QString absolutePath = dir.absoluteFilePath(fileName);
QPluginLoader loader(absolutePath);
// 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());
}
}