[Kstars-devel] KDE/kdeedu/kstars/kstars/skycomponents

Jason Harris kstars at 30doradus.org
Tue Aug 19 19:43:19 CEST 2008


SVN commit 849507 by harris:

Fix for Mederic's transparent trails patch.  Set the pen when
trail-fading is not used.

CCMAIL: kstars-devel at kde.org



 M  +1 -0      solarsystemlistcomponent.cpp  
 M  +1 -0      solarsystemsinglecomponent.cpp  


--- trunk/KDE/kdeedu/kstars/kstars/skycomponents/solarsystemlistcomponent.cpp #849506:849507
@@ -138,6 +138,7 @@
 
         bool firstPoint( true );
         QColor tcolor = QColor( data->colorScheme()->colorNamed( "PlanetTrailColor" ) );
+				psky.setPen( QPen( tcolor, 1 ) );
         foreach ( p, ksp->trail() ) {
             if ( firstPoint ) { firstPoint = false; continue; } //skip first point
 
--- trunk/KDE/kdeedu/kstars/kstars/skycomponents/solarsystemsinglecomponent.cpp #849506:849507
@@ -199,6 +199,7 @@
 
     bool firstPoint( true );
     QColor tcolor = QColor( data->colorScheme()->colorNamed( "PlanetTrailColor" ) );
+		psky.setPen( QPen( tcolor, 1 ) );
     foreach ( p, ksp()->trail() ) {
         if ( firstPoint ) { firstPoint = false; continue; } //skip first point
 


More information about the Kstars-devel mailing list