Commit f2d97193 authored by Nicolas Fella's avatar Nicolas Fella
Browse files

Remove defunct calls to KAboutData::pluginData

The data is never registered so they always return nullptr. We might as well not pass it.
parent 67104688
Pipeline #39175 canceled with stage
......@@ -23,7 +23,7 @@ K_PLUGIN_FACTORY(KdeConnectKcmFactory, registerPlugin<KdeConnectKcm>();)
static QString createId() { return QStringLiteral("kcm")+QString::number(QCoreApplication::applicationPid()); }
KdeConnectKcm::KdeConnectKcm(QWidget* parent, const QVariantList& args)
: KCModule(KAboutData::pluginData(QStringLiteral("kdeconnect-kcm")), parent)
: KCModule(parent)
, kcmUi(new Ui::KdeConnectKcmUi())
, daemon(new DaemonDbusInterface(this))
, devicesModel(new DevicesModel(this))
......
......@@ -17,7 +17,7 @@ struct KdeConnectPluginKcmPrivate
};
KdeConnectPluginKcm::KdeConnectPluginKcm(QWidget* parent, const QVariantList& args, const QString& componentName)
: KCModule(KAboutData::pluginData(componentName), parent, args)
: KCModule(parent, args)
, d(new KdeConnectPluginKcmPrivate())
{
......
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