From 2d3198e67ceb3deaec79396e00f2c3518bf7e55a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20Gr=C3=A4=C3=9Flin?= Date: Fri, 13 Jan 2012 09:13:58 +0100 Subject: [PATCH] Ensure variables are initialized in fade effect --- effects/fade/fade.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/effects/fade/fade.cpp b/effects/fade/fade.cpp index aeaafc5c7f..b4679289b0 100644 --- a/effects/fade/fade.cpp +++ b/effects/fade/fade.cpp @@ -28,6 +28,11 @@ namespace KWin KWIN_EFFECT(fade, FadeEffect) FadeEffect::FadeEffect() + : fadeInStep(0.0) + , fadeOutStep(0.0) + , fadeInTime(0) + , fadeOutTime(0) + , fadeWindows(false) { reconfigure(ReconfigureAll); connect(effects, SIGNAL(windowAdded(EffectWindow*)), this, SLOT(slotWindowAdded(EffectWindow*)));