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
09130d1ba0
commit
43bc309f3d
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()
|
||||
|
|
|
@ -193,7 +193,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