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
This commit is contained in:
Martin Gräßlin 2009-05-23 17:18:20 +00:00
parent f9be59fdc3
commit d5c7fa7957

View file

@ -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;