kwineffects: Add parent argument to Effect
This commit is contained in:
parent
b0042a30c1
commit
d4ade78aac
2 changed files with 3 additions and 2 deletions
|
@ -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…
Reference in a new issue