[kcm] Use correct KCModule constructor
BUG: 482199 CCBUG: 478091
This commit is contained in:
parent
58e9bf3161
commit
1785160049
2 changed files with 3 additions and 3 deletions
|
@ -22,8 +22,8 @@
|
|||
|
||||
K_PLUGIN_CLASS_WITH_JSON(KdeConnectKcm, "kcm_kdeconnect.json")
|
||||
|
||||
KdeConnectKcm::KdeConnectKcm(QObject *parent, const QVariantList &args)
|
||||
: KCModule(qobject_cast<QWidget *>(parent))
|
||||
KdeConnectKcm::KdeConnectKcm(QObject *parent, const KPluginMetaData &md, const QVariantList &args)
|
||||
: KCModule(parent, md)
|
||||
, daemon(new DaemonDbusInterface(this))
|
||||
, devicesModel(new DevicesModel(this))
|
||||
, currentDevice(nullptr)
|
||||
|
|
|
@ -23,7 +23,7 @@ class KdeConnectKcm : public KCModule
|
|||
{
|
||||
Q_OBJECT
|
||||
public:
|
||||
KdeConnectKcm(QObject *parent, const QVariantList &);
|
||||
KdeConnectKcm(QObject *parent, const KPluginMetaData &md, const QVariantList &args);
|
||||
~KdeConnectKcm() override;
|
||||
|
||||
private:
|
||||
|
|
Loading…
Reference in a new issue