[Marble-commits] KDE/kdeedu/marble/src/lib
Dennis Nienhüser
earthwings at gentoo.org
Thu Aug 26 23:57:33 CEST 2010
SVN commit 1168534 by nienhueser:
Use an alpha value and a width of the track that match the parameters of the route.
M +4 -2 PositionTracking.cpp
--- trunk/KDE/kdeedu/marble/src/lib/PositionTracking.cpp #1168533:1168534
@@ -94,8 +94,10 @@
GeoDataStyle style;
GeoDataLineStyle lineStyle;
- lineStyle.setColor( oxygenBrickRed4 );
- lineStyle.setWidth(2);
+ QColor transparentRed = oxygenBrickRed4;
+ transparentRed.setAlpha( 200 );
+ lineStyle.setColor( transparentRed );
+ lineStyle.setWidth( 4 );
style.setLineStyle(lineStyle);
style.setStyleId("track");
More information about the Marble-commits
mailing list