From d5c7fa7957d5894b4808f06605893b8b2930e705 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20Gr=C3=A4=C3=9Flin?= Date: Sat, 23 May 2009 17:18:20 +0000 Subject: [PATCH] When zooming we have to recompile the rotation GlList as zoom factor is required to calculate the rotation. svn path=/trunk/KDE/kdebase/workspace/; revision=971915 --- effects/cube/cube.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/effects/cube/cube.cpp b/effects/cube/cube.cpp index 2e1423bbc1..13163d2508 100644 --- a/effects/cube/cube.cpp +++ b/effects/cube/cube.cpp @@ -1913,9 +1913,11 @@ void CubeEffect::grabbedKeyboardEvent( QKeyEvent* e ) case Qt::Key_Plus: zoom -= 10.0; zoom = qMax( -zPosition, zoom ); + recompileList = true; break; case Qt::Key_Minus: zoom += 10.0f; + recompileList = true; break; default: break;