Verified Commit 405447d7 authored by Luca Beltrame's avatar Luca Beltrame
Browse files

Fix build with 5.85 deprecations on

The alternative way of using addModule is, as far as I can see,
not new (since KF 5.84) and thus "safe" to use.
parent 6dfebc4e
Pipeline #71308 failed with stage
in 9 minutes and 11 seconds
......@@ -45,6 +45,7 @@
#include <KConfigGroup>
#include <KGuiItem>
#include <KLocalizedString>
#include <KPluginMetaData>
#include <QDialogButtonBox>
#include <QLocale>
......@@ -861,7 +862,8 @@ void LdapSearchDialog::slotUser2()
QPointer<KCMultiDialog> dialog = new KCMultiDialog(this);
dialog->setWindowTitle(i18nc("@title:window", "Configure the Address Book LDAP Settings"));
dialog->addModule(QStringLiteral("kcmldap.desktop"));
dialog->addModule(KPluginMetaData(QStringLiteral("kcmldap.desktop")));
if (dialog->exec()) { // krazy:exclude=crashy
d->restoreSettings();
......
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