[Marble-commits] KDE/kdeedu/marble/src/plugins/render/routing
Dennis Nienhüser
earthwings at gentoo.org
Sun Nov 21 17:41:25 CET 2010
SVN commit 1199337 by nienhueser:
Jump to the start of the route when enabling guidance mode indepent of whether position tracking is active.
M +1 -2 RoutingPlugin.cpp
--- trunk/KDE/kdeedu/marble/src/plugins/render/routing/RoutingPlugin.cpp #1199336:1199337
@@ -207,8 +207,7 @@
m_widget.instructionLabel->setText( richText( "%1", fontSize ).arg( text ) );
}
- PositionTracking *tracking = m_marbleWidget->model()->positionTracking();
- if ( enabled && !tracking->positionProviderPlugin() ) {
+ if ( enabled ) {
RouteRequest* request = m_marbleWidget->model()->routingManager()->routeRequest();
if ( request && request->size() > 0 ) {
GeoDataCoordinates source = request->source();
More information about the Marble-commits
mailing list