From da9b11aeb53f1040b7177de9ff0845cb513ac9d8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20Gr=C3=A4=C3=9Flin?= Date: Sat, 31 Jan 2009 13:16:16 +0000 Subject: [PATCH] Revert commit 919009 svn path=/branches/KDE/4.2/kdebase/workspace/; revision=919070 --- 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;