Turns the slide effect off if KRunner is set to floating.

BUG:218678

svn path=/trunk/KDE/kdebase/workspace/; revision=1202415
This commit is contained in:
Matthias Fuchs 2010-11-30 20:03:03 +00:00
parent e38c7981dd
commit f70c052644

View file

@ -190,7 +190,13 @@ void SlidingPopupsEffect::propertyNotify( EffectWindow* w, long a )
QByteArray data = w->readProperty( mAtom, mAtom, 32 ); QByteArray data = w->readProperty( mAtom, mAtom, 32 );
if( data.length() < 1 ) if( data.length() < 1 )
{
// Property was removed, thus also remove the effect for window
mAppearingWindows.remove( w );
mDisappearingWindows.remove( w );
mWindowsData.remove( w );
return; return;
}
long* d = reinterpret_cast< long* >( data.data()); long* d = reinterpret_cast< long* >( data.data());
Data animData; Data animData;