[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: KDE/kdebase/workspace/plasma/containmentactions/contextmenu
From: Aaron J. Seigo <aseigo () kde ! org>
Date: 2009-08-29 18:29:22
Message-ID: 1251570562.049942.19206.nullmailer () svn ! kde ! org
[Download RAW message or body]
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<QGraphicsSceneMouseEvent*>(event);
+ QGraphicsSceneMouseEvent *e = static_cast<QGraphicsSceneMouseEvent*>(event);
screenPos = e->screenPos();
break;
}
case QEvent::GraphicsSceneWheel: {
- QGraphicsSceneWheelEvent *e = dynamic_cast<QGraphicsSceneWheelEvent*>(event);
+ QGraphicsSceneWheelEvent *e = static_cast<QGraphicsSceneWheelEvent*>(event);
screenPos = e->screenPos();
break;
}
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic