diff --git a/core/pluginloader.cpp b/core/pluginloader.cpp index 0a71de28b..9115bf766 100644 --- a/core/pluginloader.cpp +++ b/core/pluginloader.cpp @@ -25,7 +25,7 @@ PluginLoader *PluginLoader::instance() PluginLoader::PluginLoader() { - const QVector data = KPluginMetaData::findPlugins(QStringLiteral("kdeconnect/")); + const QVector data = KPluginMetaData::findPlugins(QStringLiteral("kdeconnect")); for (const KPluginMetaData &metadata : data) { plugins[metadata.pluginId()] = metadata; } diff --git a/interfaces/pluginmodel.cpp b/interfaces/pluginmodel.cpp index 67cbca4b2..83fd95fa5 100644 --- a/interfaces/pluginmodel.cpp +++ b/interfaces/pluginmodel.cpp @@ -16,7 +16,7 @@ PluginModel::PluginModel(QObject *parent) { connect(this, &QAbstractItemModel::rowsInserted, this, &PluginModel::rowsChanged); connect(this, &QAbstractItemModel::rowsRemoved, this, &PluginModel::rowsChanged); - m_plugins = KPluginMetaData::findPlugins(QStringLiteral("kdeconnect/")); + m_plugins = KPluginMetaData::findPlugins(QStringLiteral("kdeconnect")); } PluginModel::~PluginModel() diff --git a/kcm/kcm.cpp b/kcm/kcm.cpp index 9abc2de89..876e71ffb 100644 --- a/kcm/kcm.cpp +++ b/kcm/kcm.cpp @@ -190,7 +190,7 @@ void KdeConnectKcm::resetDeviceView() }, this); - const QVector pluginInfo = KPluginMetaData::findPlugins(QStringLiteral("kdeconnect/")); + const QVector pluginInfo = KPluginMetaData::findPlugins(QStringLiteral("kdeconnect")); QVector availablePluginInfo; m_oldSupportedPluginNames = currentDevice->supportedPlugins();