Remove trailing / for KPluginMetaData::findPlugins
This is not needed and pretty much all usages of this method don't do it too
This commit is contained in:
parent
399d279e83
commit
6fbecf28da
3 changed files with 3 additions and 3 deletions
|
@ -25,7 +25,7 @@ PluginLoader *PluginLoader::instance()
|
|||
|
||||
PluginLoader::PluginLoader()
|
||||
{
|
||||
const QVector<KPluginMetaData> data = KPluginMetaData::findPlugins(QStringLiteral("kdeconnect/"));
|
||||
const QVector<KPluginMetaData> data = KPluginMetaData::findPlugins(QStringLiteral("kdeconnect"));
|
||||
for (const KPluginMetaData &metadata : data) {
|
||||
plugins[metadata.pluginId()] = metadata;
|
||||
}
|
||||
|
|
|
@ -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()
|
||||
|
|
|
@ -190,7 +190,7 @@ void KdeConnectKcm::resetDeviceView()
|
|||
},
|
||||
this);
|
||||
|
||||
const QVector<KPluginMetaData> pluginInfo = KPluginMetaData::findPlugins(QStringLiteral("kdeconnect/"));
|
||||
const QVector<KPluginMetaData> pluginInfo = KPluginMetaData::findPlugins(QStringLiteral("kdeconnect"));
|
||||
QVector<KPluginMetaData> availablePluginInfo;
|
||||
|
||||
m_oldSupportedPluginNames = currentDevice->supportedPlugins();
|
||||
|
|
Loading…
Reference in a new issue