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

Jason Harris kstars at 30doradus.org
Thu Dec 20 17:14:15 CET 2007


SVN commit 750936 by harris:

Remove the KStars pointer argument from all draw functions in the
skycomponents classes.  This pointer was *only* used to reference the
SkyMap and KStarsData pointers, but since these classes are
singletons, we can reference them through the static Instance()
function.

A similar cleanup needs to be done for the init() and update()
functions (which all take an unnecessary KStarsData* argument), but I
think I'll wait on that until after the freeze.

I'm doing this fix now because it resolves a crash condition when
using image-dump mode.  Despite the large number of files touched,
this is really a trivial change.

CCMAIL: kstars-devel at kde.org



 M  +2 -3      skycomponents/asteroidscomponent.cpp  
 M  +1 -3      skycomponents/asteroidscomponent.h  
 M  +2 -6      skycomponents/cometscomponent.cpp  
 M  +1 -3      skycomponents/cometscomponent.h  
 M  +3 -3      skycomponents/constellationboundarylines.cpp  
 M  +1 -2      skycomponents/constellationboundarylines.h  
 M  +3 -3      skycomponents/constellationlines.cpp  
 M  +1 -1      skycomponents/constellationlines.h  
 M  +5 -8      skycomponents/constellationnamescomponent.cpp  
 M  +6 -9      skycomponents/constellationnamescomponent.h  
 M  +3 -3      skycomponents/coordinategrid.cpp  
 M  +1 -2      skycomponents/coordinategrid.h  
 M  +2 -3      skycomponents/customcatalogcomponent.cpp  
 M  +8 -9      skycomponents/customcatalogcomponent.h  
 M  +16 -17    skycomponents/deepskycomponent.cpp  
 M  +12 -16    skycomponents/deepskycomponent.h  
 M  +10 -9     skycomponents/ecliptic.cpp  
 M  +2 -2      skycomponents/ecliptic.h  
 M  +10 -9     skycomponents/equator.cpp  
 M  +3 -3      skycomponents/equator.h  
 M  +24 -20    skycomponents/horizoncomponent.cpp  
 M  +2 -2      skycomponents/horizoncomponent.h  
 M  +14 -14    skycomponents/jupitermoonscomponent.cpp  
 M  +2 -2      skycomponents/jupitermoonscomponent.h  
 M  +5 -6      skycomponents/linelistcomponent.cpp  
 M  +3 -4      skycomponents/linelistcomponent.h  
 M  +23 -17    skycomponents/linelistindex.cpp  
 M  +5 -7      skycomponents/linelistindex.h  
 M  +2 -3      skycomponents/linelistlabel.cpp  
 M  +1 -1      skycomponents/linelistlabel.h  
 M  +7 -8      skycomponents/listcomponent.h  
 M  +6 -5      skycomponents/milkyway.cpp  
 M  +1 -4      skycomponents/milkyway.h  
 M  +4 -4      skycomponents/noprecessindex.cpp  
 M  +1 -2      skycomponents/noprecessindex.h  
 M  +2 -3      skycomponents/pointlistcomponent.h  
 M  +8 -6      skycomponents/satellitecomponent.cpp  
 M  +1 -1      skycomponents/satellitecomponent.h  
 M  +6 -10     skycomponents/singlecomponent.h  
 M  +3 -4      skycomponents/skycomponent.cpp  
 M  +4 -7      skycomponents/skycomponent.h  
 M  +4 -5      skycomponents/skycomposite.cpp  
 M  +2 -5      skycomponents/skycomposite.h  
 M  +3 -5      skycomponents/skylabeler.cpp  
 M  +1 -2      skycomponents/skylabeler.h  
 M  +29 -28    skycomponents/skymapcomposite.cpp  
 M  +1 -4      skycomponents/skymapcomposite.h  
 M  +3 -11     skycomponents/skymesh.cpp  
 M  +7 -8      skycomponents/skymesh.h  
 M  +4 -5      skycomponents/solarsystemcomposite.cpp  
 M  +2 -2      skycomponents/solarsystemcomposite.h  
 M  +10 -11    skycomponents/solarsystemlistcomponent.cpp  
 M  +1 -1      skycomponents/solarsystemlistcomponent.h  
 M  +5 -6      skycomponents/solarsystemsinglecomponent.cpp  
 M  +2 -2      skycomponents/solarsystemsinglecomponent.h  
 M  +5 -6      skycomponents/starcomponent.cpp  
 M  +2 -3      skycomponents/starcomponent.h  
 M  +1 -1      skymapdraw.cpp  
 M  +1 -1      skymapevents.cpp  




More information about the Kstars-devel mailing list