[Marble-commits] KDE/kdeedu/marble/src/plugins/render/routing
Dennis Nienhüser
earthwings at gentoo.org
Thu Jul 29 21:13:03 CEST 2010
SVN commit 1156824 by nienhueser:
fix compiler warnings (init order, unused variable)
M +4 -3 RoutingPlugin.cpp
--- trunk/KDE/kdeedu/marble/src/plugins/render/routing/RoutingPlugin.cpp #1156823:1156824
@@ -37,12 +37,12 @@
RoutingPlugin::RoutingPlugin( const QPointF &point )
:AbstractFloatItem( point ),
+ m_routingManager( 0 ),
m_routingModel( 0 ),
- m_routingManager( 0 ),
m_remainingTime( 0.0 ),
m_remainingDistance( 0.0 ),
- m_routingItem( 0 ),
- m_widgetItem( 0 )
+ m_widgetItem( 0 ),
+ m_routingItem( 0 )
{
setEnabled( true );
setVisible( false );
@@ -128,6 +128,7 @@
void RoutingPlugin::setCurrentLocation( GeoDataCoordinates position, qreal speed )
{
+ Q_UNUSED(speed);
m_currentPosition = position;
bool hasRoute = m_routingModel->rowCount() != 0;
setVisible( hasRoute );
More information about the Marble-commits
mailing list