[Marble-commits] KDE/kdeedu/marble/src/plugins/render/routing
Dennis Nienhüser
earthwings at gentoo.org
Mon Nov 1 12:34:14 CET 2010
SVN commit 1191891 by nienhueser:
Initialize button status correctly.
M +2 -0 RoutingPlugin.cpp
--- trunk/KDE/kdeedu/marble/src/plugins/render/routing/RoutingPlugin.cpp #1191890:1191891
@@ -122,6 +122,8 @@
m_routingWidgetSmall->setupUi( widget );
m_routingInformationWidgetSmall = new Ui::RoutingInformationWidgetSmall;
m_routingInformationWidgetSmall->setupUi( widgetSmall );
+ PositionProviderPlugin* activePlugin = dataFacade()->positionTracking()->positionProviderPlugin();
+ m_routingWidgetSmall->gpsButton->setChecked( activePlugin != 0 );
connect( m_routingInformationWidgetSmall->distanceAndInstructionLabel, SIGNAL( linkActivated( QString ) ),
this, SLOT( reverseRoute() ) );
More information about the Marble-commits
mailing list