Verified Commit 55d856ed 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,
pursuivant> not new (since KF 5.84) and thus "safe" to use.
parent d0b9f1ae
......@@ -11,6 +11,7 @@
#include <KConfigGroup>
#include <KLocalizedString>
#include <KStringHandler>
#include <KPluginMetaData>
ConfigFile::ConfigFile(const QString &configName, QObject *parent)
: SetupObject(parent)
......@@ -90,7 +91,7 @@ void ConfigFile::edit()
if (m_editName == QLatin1String("freebusy")) {
QPointer<KCMultiDialog> dialog = new KCMultiDialog();
dialog->addModule(QStringLiteral("korganizer_configfreebusy.desktop"));
dialog->addModule(KPluginMetaData(("korganizer_configfreebusy.desktop")));
dialog->exec();
delete dialog;
return;
......
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