static is good enough here too

svn path=/trunk/KDE/kdebase/workspace/plasma/containmentactions/test/; revision=1017114
This commit is contained in:
Aaron J. Seigo 2009-08-29 18:30:36 +00:00
parent d6eb165ee5
commit 6a68528d75

View File

@ -37,10 +37,10 @@ void ContextTest::contextEvent(QEvent *event)
{
switch (event->type()) {
case QEvent::GraphicsSceneMousePress:
contextEvent(dynamic_cast<QGraphicsSceneMouseEvent*>(event));
contextEvent(static_cast<QGraphicsSceneMouseEvent*>(event));
break;
case QEvent::GraphicsSceneWheel:
wheelEvent(dynamic_cast<QGraphicsSceneWheelEvent*>(event));
wheelEvent(static_cast<QGraphicsSceneWheelEvent*>(event));
break;
default:
break;