SVN commit 1017113 by aseigo: static is good enough M +2 -2 menu.cpp --- trunk/KDE/kdebase/workspace/plasma/containmentactions/contextmenu/menu.cpp #1017112:1017113 @@ -160,12 +160,12 @@ QPoint screenPos; switch (event->type()) { case QEvent::GraphicsSceneMousePress: { - QGraphicsSceneMouseEvent *e = dynamic_cast(event); + QGraphicsSceneMouseEvent *e = static_cast(event); screenPos = e->screenPos(); break; } case QEvent::GraphicsSceneWheel: { - QGraphicsSceneWheelEvent *e = dynamic_cast(event); + QGraphicsSceneWheelEvent *e = static_cast(event); screenPos = e->screenPos(); break; }