Ensure variables are initialized in fade effect
This commit is contained in:
parent
e1f888d1f6
commit
2d3198e67c
1 changed files with 5 additions and 0 deletions
|
@ -28,6 +28,11 @@ namespace KWin
|
||||||
KWIN_EFFECT(fade, FadeEffect)
|
KWIN_EFFECT(fade, FadeEffect)
|
||||||
|
|
||||||
FadeEffect::FadeEffect()
|
FadeEffect::FadeEffect()
|
||||||
|
: fadeInStep(0.0)
|
||||||
|
, fadeOutStep(0.0)
|
||||||
|
, fadeInTime(0)
|
||||||
|
, fadeOutTime(0)
|
||||||
|
, fadeWindows(false)
|
||||||
{
|
{
|
||||||
reconfigure(ReconfigureAll);
|
reconfigure(ReconfigureAll);
|
||||||
connect(effects, SIGNAL(windowAdded(EffectWindow*)), this, SLOT(slotWindowAdded(EffectWindow*)));
|
connect(effects, SIGNAL(windowAdded(EffectWindow*)), this, SLOT(slotWindowAdded(EffectWindow*)));
|
||||||
|
|
Loading…
Reference in a new issue