Remove defunct calls to KAboutData::pluginData
The data is never registered so they always return nullptr. We might as well not pass it.
This commit is contained in:
parent
671046888f
commit
f2d97193eb
2 changed files with 2 additions and 2 deletions
|
@ -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())
|
||||
{
|
||||
|
||||
|
|
Loading…
Reference in a new issue