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

Akarsh Simha akarshsimha at gmail.com
Wed Dec 23 00:45:55 CET 2009


SVN commit 1065303 by asimha:

Removing saturn moons feature from 4.3 branch as it contained
plagiarized code that amounted to copyright infringement.

FEATURE
CCMAIL: kstars-devel at kde.org



 M  +0 -2      CMakeLists.txt  
 M  +0 -4      skycomponents/solarsystemcomposite.cpp  
 M  +0 -2      skycomponents/solarsystemcomposite.h  
 D             skyobjects/saturnmoons.cpp  
 D             skyobjects/saturnmoons.h  


--- branches/KDE/4.3/kdeedu/kstars/kstars/CMakeLists.txt #1065302:1065303
@@ -188,7 +188,6 @@
    skycomponents/asteroidscomponent.cpp 
    skycomponents/cometscomponent.cpp 
    skycomponents/jupitermoonscomponent.cpp 
-   skycomponents/saturnmoonscomponent.cpp 
    skycomponents/solarsystemcomposite.cpp 
    skycomponents/satellitecomposite.cpp
    skycomponents/satellitecomponent.cpp
@@ -252,7 +251,6 @@
 set(kstars_skyobjects_SRCS
   skyobjects/deepskyobject.cpp
   skyobjects/jupitermoons.cpp
-  skyobjects/saturnmoons.cpp
   skyobjects/ksasteroid.cpp
   skyobjects/kscomet.cpp
   skyobjects/ksmoon.cpp
--- branches/KDE/4.3/kdeedu/kstars/kstars/skycomponents/solarsystemcomposite.cpp #1065302:1065303
@@ -56,8 +56,6 @@
     addComponent( m_JupiterMoons );
     SolarSystemSingleComponent *sat = new SolarSystemSingleComponent( this, new KSPlanet( KSPlanetBase::SATURN ), Options::showSaturn, 4 );
     addComponent( sat );
-    m_SaturnMoons = new SaturnMoonsComponent( this, sat, &Options::showSaturn);
-    addComponent( m_SaturnMoons );
     addComponent( new SolarSystemSingleComponent( this, new KSPlanet( KSPlanetBase::URANUS ), Options::showUranus, 4 ) );
     addComponent( new SolarSystemSingleComponent( this, new KSPlanet( KSPlanetBase::NEPTUNE ), Options::showNeptune, 4 ) );
     addComponent( new SolarSystemSingleComponent( this, new KSPluto(), Options::showPluto, 4 ) );
@@ -97,7 +95,6 @@
     m_Sun->EquatorialToHorizontal( data->lst(), data->geo()->lat() );
     m_Moon->EquatorialToHorizontal( data->lst(), data->geo()->lat() );
     m_JupiterMoons->update( data, num );
-    m_SaturnMoons->update( data, num );
 
     foreach ( SkyComponent *comp, components() ) {
         comp->update( data, num );
@@ -122,7 +119,6 @@
     m_Moon->findPosition( num, data->geo()->lat(), data->lst() );
     m_Moon->findPhase();
     m_JupiterMoons->updateMoons( data, num );
-    m_SaturnMoons->updateMoons( data, num );
 }
 
 void SolarSystemComposite::draw( QPainter& psky )
--- branches/KDE/4.3/kdeedu/kstars/kstars/skycomponents/solarsystemcomposite.h #1065302:1065303
@@ -24,7 +24,6 @@
 class KSSun;
 class KSMoon;
 class JupiterMoonsComponent;
-class SaturnMoonsComponent;
 class AsteroidsComponent;
 class CometsComponent;
 class SkyLabeler;
@@ -71,7 +70,6 @@
     KSSun *m_Sun;
     KSMoon *m_Moon;
     JupiterMoonsComponent *m_JupiterMoons;
-    SaturnMoonsComponent *m_SaturnMoons;
     AsteroidsComponent *m_AsteroidsComponent;
     CometsComponent *m_CometsComponent;
     SkyLabeler* m_skyLabeler;


More information about the Kstars-devel mailing list