From df861b17028a264480ce23f4d648402852674ad1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lubo=C5=A1=20Lu=C5=88=C3=A1k?= Date: Fri, 17 Mar 2017 16:17:36 +0100 Subject: [PATCH] initialize a member slotWindowClosed() accesses it --- effects/flipswitch/flipswitch.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/effects/flipswitch/flipswitch.cpp b/effects/flipswitch/flipswitch.cpp index 69a33822cb..01062a9993 100644 --- a/effects/flipswitch/flipswitch.cpp +++ b/effects/flipswitch/flipswitch.cpp @@ -39,7 +39,8 @@ namespace KWin { FlipSwitchEffect::FlipSwitchEffect() - : m_currentAnimationShape(QTimeLine::EaseInOutCurve) + : m_selectedWindow(nullptr) + , m_currentAnimationShape(QTimeLine::EaseInOutCurve) , m_active(false) , m_start(false) , m_stop(false)