Commit 6fbe32d7 authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Use directly subdirectory

parent e75cbfb0
......@@ -71,9 +71,7 @@ bool AddressessLineEditPluginManagerPrivate::initializePlugins()
if (!mPluginList.isEmpty()) {
return true;
}
const QVector<KPluginMetaData> plugins = KPluginLoader::findPlugins(QStringLiteral("addressline"), [](const KPluginMetaData &md) {
return md.serviceTypes().contains(QLatin1String("AddressLineEdit/Plugin"));
});
const QVector<KPluginMetaData> plugins = KPluginLoader::findPlugins(QStringLiteral("addressline"));
QVectorIterator<KPluginMetaData> i(plugins);
i.toBack();
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment