Commit 4a3f5167 authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Now all use KPluginLoader::findPlugins

parent d741205c
Pipeline #66253 passed with stage
in 5 minutes and 30 seconds
...@@ -353,7 +353,6 @@ void MainWidget::initializeImportExportPlugin(KActionCollection *collection) ...@@ -353,7 +353,6 @@ void MainWidget::initializeImportExportPlugin(KActionCollection *collection)
void MainWidget::configure() void MainWidget::configure()
{ {
QPointer<KCMultiDialog> dlg = new KCMultiDialog(this); QPointer<KCMultiDialog> dlg = new KCMultiDialog(this);
dlg->addModule(QStringLiteral("kcmldap"));
const QVector<KPluginMetaData> availablePlugins = KPluginLoader::findPlugins(QStringLiteral("pim/kcms/kaddressbook")); const QVector<KPluginMetaData> availablePlugins = KPluginLoader::findPlugins(QStringLiteral("pim/kcms/kaddressbook"));
for (const KPluginMetaData &metaData : availablePlugins) { for (const KPluginMetaData &metaData : availablePlugins) {
#if KCMUTILS_VERSION >= QT_VERSION_CHECK(5, 84, 0) #if KCMUTILS_VERSION >= QT_VERSION_CHECK(5, 84, 0)
......
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