[Marble-commits] KDE/kdeedu/marble/src/plugins/render/osmannotate

Jens-Michael Hoffmann jensmh at gmx.de
Sat Aug 15 10:02:21 CEST 2009


SVN commit 1011588 by jmhoffmann:

Replace C-style cast with static_cast.


 M  +1 -1      TmpGraphicsItem.cpp  


--- trunk/KDE/kdeedu/marble/src/plugins/render/osmannotate/TmpGraphicsItem.cpp #1011587:1011588
@@ -62,7 +62,7 @@
 bool TmpGraphicsItem::sceneEvent( QEvent* event )
 {
     if( event->type() == QEvent::MouseButtonPress ) {
-        return mousePressEvent( (QMouseEvent*) event );
+        return mousePressEvent( static_cast<QMouseEvent*>( event ));
     }
 
     return false;


More information about the Marble-commits mailing list