[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    KDE/kdebase/workspace/plasma/containmentactions
From:       Aaron J. Seigo <aseigo () kde ! org>
Date:       2009-08-29 18:30:38
Message-ID: 1251570638.107549.19539.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 1017114 by aseigo:

static is good enough here too


 M  +2 -2      switchactivity/switch.cpp  
 M  +2 -2      switchdesktop/desktop.cpp  
 M  +2 -2      switchwindow/switch.cpp  
 M  +2 -2      test/test.cpp  
 M  +2 -2      zoom/zoom.cpp  


--- trunk/KDE/kdebase/workspace/plasma/containmentactions/switchactivity/switch.cpp #1017113:1017114
@@ -39,10 +39,10 @@
 {
     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;
--- trunk/KDE/kdebase/workspace/plasma/containmentactions/switchdesktop/desktop.cpp #1017113:1017114
@@ -35,10 +35,10 @@
 {
     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;
--- trunk/KDE/kdebase/workspace/plasma/containmentactions/switchwindow/switch.cpp #1017113:1017114
@@ -78,10 +78,10 @@
 {
     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;
--- trunk/KDE/kdebase/workspace/plasma/containmentactions/test/test.cpp #1017113:1017114
@@ -37,10 +37,10 @@
 {
     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;
--- trunk/KDE/kdebase/workspace/plasma/containmentactions/zoom/zoom.cpp #1017113:1017114
@@ -39,10 +39,10 @@
 {
     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;
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic