[Marble-commits] KDE/kdeedu/marble/src/plugins/render/routing
Dennis Nienhüser
earthwings at gentoo.org
Wed Nov 17 21:20:13 CET 2010
SVN commit 1198191 by nienhueser:
Show a flag icon above the distance to destination label to indicate it's the distance to the destination.
M +2 -1 RoutingPlugin.cpp
--- trunk/KDE/kdeedu/marble/src/plugins/render/routing/RoutingPlugin.cpp #1198190:1198191
@@ -238,7 +238,8 @@
fontSize = m_nearNextInstruction ? 1 : -1;
}
- m_widget.destinationDistanceLabel->setText( richText( fuzzyDistance( remainingDistance ), -1 ) );
+ QString pixmapHtml = "<img src=\":/icons/flag.png\" /><br />";
+ m_widget.destinationDistanceLabel->setText( pixmapHtml + richText( fuzzyDistance( remainingDistance ), -1 ) );
m_widget.instructionIconLabel->setEnabled( m_nearNextInstruction );
m_widget.progressBar->setMaximum( thresholdDistance );
More information about the Marble-commits
mailing list