From 139b8c8f41345e373d013ed5e302cd199df070e1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20Gr=C3=A4=C3=9Flin?= Date: Sat, 31 Jan 2009 13:15:14 +0000 Subject: [PATCH] Revert commit r919007 svn path=/trunk/KDE/kdebase/workspace/; revision=919068 --- effects/coverswitch.cpp | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/effects/coverswitch.cpp b/effects/coverswitch.cpp index 9bba048590..b7369a1990 100644 --- a/effects/coverswitch.cpp +++ b/effects/coverswitch.cpp @@ -201,10 +201,8 @@ void CoverSwitchEffect::paintScreen( int mask, QRegion region, ScreenPaintData& rightIndex = 0; EffectWindow* frontWindow = tempList[ index ]; - if( !leftWindows.isEmpty() ) - leftWindows.clear(); - if( !rightWindows.isEmpty() ) - rightWindows.clear(); + leftWindows.clear(); + rightWindows.clear(); bool evenWindows = ( tempList.count() % 2 == 0 ) ? true : false; int leftWindowCount = 0;