[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:26
Message-ID: 1265754806.009772.2346.nullmailer () svn ! kde ! org
[Download RAW message or body]
SVN commit 1087981 by khudyakov:
Remove init from StarComponent
M +7 -11 starcomponent.cpp
M +0 -2 starcomponent.h
--- trunk/KDE/kdeedu/kstars/kstars/skycomponents/starcomponent.cpp #1087980:1087981
@@ -70,6 +70,13 @@
for ( int i = 0; i <= MAX_LINENUMBER_MAG; i++ )
m_labelList[ i ] = new LabelList;
+
+ // Actually load data
+ emitProgressText( i18n("Loading stars" ) );
+ loadStaticData();
+ // Load any deep star catalogs that are available
+ loadDeepStarCatalogs();
+ StarObject::initImages();
}
StarComponent::~StarComponent() {
@@ -87,17 +94,6 @@
return Options::showStars();
}
-void StarComponent::init() {
- emitProgressText( i18n("Loading stars" ) );
-
- loadStaticData();
-
- // Load any deep star catalogs that are available
- loadDeepStarCatalogs();
-
- StarObject::initImages();
-}
-
bool StarComponent::addDeepStarCatalogIfExists( const QString &fileName, float \
trigMag, bool staticstars ) { if( BinFileHelper::testFileExists( fileName ) ) {
DeepStarComponent *newdsc;
--- trunk/KDE/kdeedu/kstars/kstars/skycomponents/starcomponent.h #1087980:1087981
@@ -85,8 +85,6 @@
* clear the LabelLists. */
void drawLabels( QPainter& psky );
- virtual void init();
-
/**@short Return the size of the star as rendered by KStars
* @return the Size of the star's representation on the skymap in pixels */
float starRenderingSize( float mag ) const;
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic