[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:       2011-03-02 21:06:55
Message-ID: 20110302210655.17F6AAC8C2 () svn ! kde ! org
[Download RAW message or body]

SVN commit 1223409 by khudyakov:

Cosmetical change

 M  +3 -2      horizoncomponent.cpp  


--- trunk/KDE/kdeedu/kstars/kstars/skycomponents/horizoncomponent.cpp #1223408:1223409
@@ -55,7 +55,7 @@
 
 bool HorizonComponent::selected()
 {
-    return ( Options::showHorizon() || Options::showGround() );
+    return Options::showHorizon() || Options::showGround();
 }
 
 void HorizonComponent::update( KSNumbers * )
@@ -74,7 +74,8 @@
 //This is true for Equatorial or Horizontal coordinates
 void HorizonComponent::draw( SkyPainter *skyp )
 {
-    if( !selected() ) return;
+    if( !selected() )
+        return;
 
     KStarsData *data = KStarsData::Instance();
     
[prev in list] [next in list] [prev in thread] [next in thread] 

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