From kde-commits Tue Aug 18 07:44:33 2009 From: Laurent Montel Date: Tue, 18 Aug 2009 07:44:33 +0000 To: kde-commits Subject: KDE/kdebase/workspace/plasma/containmentactions/applauncher Message-Id: <1250581473.921136.7509.nullmailer () svn ! kde ! org> X-MARC-Message: https://marc.info/?l=kde-commits&m=125058148002873 SVN commit 1012839 by mlaurent: we don't test dynamic_cast => use static_cast M +2 -2 launch.cpp --- trunk/KDE/kdebase/workspace/plasma/containmentactions/applauncher/launch.cpp #1012838:1012839 @@ -44,10 +44,10 @@ QPoint screenPos; switch (event->type()) { case QEvent::GraphicsSceneMouseRelease: - screenPos = (dynamic_cast(event))->screenPos(); + screenPos = (static_cast(event))->screenPos(); break; case QEvent::GraphicsSceneWheel: - screenPos = (dynamic_cast(event))->screenPos(); + screenPos = (static_cast(event))->screenPos(); break; default: kDebug() << "unexpected event type" << event->type();