kwineffects: Add parent argument to Effect

master
Vlad Zahorodnii 3 years ago
parent b0042a30c1
commit d4ade78aac

@ -530,7 +530,8 @@ EffectScreen *ScreenPaintData::screen() const
// Effect
//****************************************
Effect::Effect()
Effect::Effect(QObject *parent)
: QObject(parent)
{
}

@ -362,7 +362,7 @@ public:
* In OpenGL based compositing, the frameworks ensures that the context is current
* when the Effect is constructed.
*/
Effect();
Effect(QObject *parent = nullptr);
/**
* Destructs the Effect object.
*

Loading…
Cancel
Save