static is good enough here too
svn path=/trunk/KDE/kdebase/workspace/plasma/containmentactions/test/; revision=1017114
This commit is contained in:
parent
d6eb165ee5
commit
6a68528d75
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user