From 9942e6ff0dc115b9efadec32d06f363389f8ac22 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20Gr=C3=A4=C3=9Flin?= Date: Sun, 14 Dec 2008 09:47:09 +0000 Subject: [PATCH] Don't change opacity of windows during slide animation. BUG: 177731 svn path=/trunk/KDE/kdebase/workspace/; revision=896703 --- effects/cube.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/effects/cube.cpp b/effects/cube.cpp index 63482484e9..4936d7eb9b 100644 --- a/effects/cube.cpp +++ b/effects/cube.cpp @@ -1163,6 +1163,8 @@ void CubeEffect::paintWindow( EffectWindow* w, int mask, QRegion region, WindowP { //kDebug(1212) << w->caption(); float opacity = cubeOpacity; + if( slide ) + opacity = 1.0f; if( start ) { opacity = 1.0 - (1.0 - opacity)*timeLine.value();