From f70c0526446985d0b88944b15d0ee14ced1c2f74 Mon Sep 17 00:00:00 2001 From: Matthias Fuchs Date: Tue, 30 Nov 2010 20:03:03 +0000 Subject: [PATCH] Turns the slide effect off if KRunner is set to floating. BUG:218678 svn path=/trunk/KDE/kdebase/workspace/; revision=1202415 --- effects/slidingpopups/slidingpopups.cpp | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/effects/slidingpopups/slidingpopups.cpp b/effects/slidingpopups/slidingpopups.cpp index 8bc8d831e3..4ccf36a43c 100644 --- a/effects/slidingpopups/slidingpopups.cpp +++ b/effects/slidingpopups/slidingpopups.cpp @@ -190,7 +190,13 @@ void SlidingPopupsEffect::propertyNotify( EffectWindow* w, long a ) QByteArray data = w->readProperty( mAtom, mAtom, 32 ); if( data.length() < 1 ) + { + // Property was removed, thus also remove the effect for window + mAppearingWindows.remove( w ); + mDisappearingWindows.remove( w ); + mWindowsData.remove( w ); return; + } long* d = reinterpret_cast< long* >( data.data()); Data animData;