Commit e82df04a authored by Alexander Lohnau's avatar Alexander Lohnau 💬
Browse files

Port deprecated KCModule constructor

Passing in a nullptr has no effect anyways, so lets just
use the non-deprecated constructor
parent 37cb2b30
......@@ -51,7 +51,7 @@ K_PLUGIN_FACTORY(PowerDevilActivitiesKCMFactory,
)
ActivityPage::ActivityPage(QWidget *parent, const QVariantList &args)
: KCModule(nullptr, parent, args)
: KCModule(parent, args)
, m_activityConsumer(new KActivities::Consumer(this))
{
setButtons(Apply | Help);
......
......@@ -51,7 +51,7 @@ K_PLUGIN_FACTORY(PowerDevilGeneralKCMFactory,
)
GeneralPage::GeneralPage(QWidget *parent, const QVariantList &args)
: KCModule(nullptr, parent, args)
: KCModule(parent, args)
{
setButtons(Apply | Help);
......
Supports Markdown
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