[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    KDE/kdeedu/kstars/kstars/skycomponents
From:       Alexey Khudyakov <alexey.skladnoy () gmail ! com>
Date:       2010-02-09 22:33:19
Message-ID: 1265754799.361946.2193.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 1087979 by khudyakov:

Remove init from HorizonComponent

 M  +3 -6      horizoncomponent.cpp  
 M  +0 -5      horizoncomponent.h  


--- trunk/KDE/kdeedu/kstars/kstars/skycomponents/horizoncomponent.cpp #1087978:1087979
@@ -33,12 +33,6 @@
 
 HorizonComponent::HorizonComponent(SkyComposite *parent )
         : PointListComponent( parent )
-{}
-
-HorizonComponent::~HorizonComponent()
-{}
-
-void HorizonComponent::init()
 {
     KStarsData *data = KStarsData::Instance();
     emitProgressText( i18n("Creating horizon" ) );
@@ -54,6 +48,9 @@
     }
 }
 
+HorizonComponent::~HorizonComponent()
+{}
+
 bool HorizonComponent::selected()
 {
     return Options::showHorizon();
--- trunk/KDE/kdeedu/kstars/kstars/skycomponents/horizoncomponent.h #1087978:1087979
@@ -53,11 +53,6 @@
      */
     virtual void draw( QPainter& psky );
 
-    /**
-     *@short Initialize the Horizon
-     */
-    virtual void init();
-
     virtual void update( KSNumbers* );
 
     bool selected();
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic