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

List:       kde-commits
Subject:    =?utf-8?q?=5Bkstars=5D_kstars/skyobjects=3A_Make_it_compile?=
From:       Anne-Marie Mahfouf <annma () kde ! org>
Date:       2011-05-08 8:20:21
Message-ID: 20110508082021.721C2A60A4 () git ! kde ! org
[Download RAW message or body]

Git commit 5018e2b278e7c20ed91a10db1971b1930e431aa1 by Anne-Marie Mahfouf.
Committed on 08/05/2011 at 10:16.
Pushed by annma into branch 'master'.

Make it compile

Two ; were forgotten and broke the compilation.
CCMAIL:alexey.skladnoy@gmail.com

M  +2    -2    kstars/skyobjects/satellite.cpp     

http://commits.kde.org/kstars/5018e2b278e7c20ed91a10db1971b1930e431aa1

diff --git a/kstars/skyobjects/satellite.cpp b/kstars/skyobjects/satellite.cpp
index 5a17d9b..0143c9b 100644
--- a/kstars/skyobjects/satellite.cpp
+++ b/kstars/skyobjects/satellite.cpp
@@ -85,7 +85,7 @@ Satellite::Satellite( const QString name, const QString line1, const QString lin
     setType( SkyObject::SATELLITE );
     setMag( 0.0 );
 
-    m_is_selected = Options::selectedSatellites().contains( name )
+    m_is_selected = Options::selectedSatellites().contains( name );
 
     // Convert TLE epoch to Julian date
     double day = modf( m_epoch * 1.e-3, &m_epoch_year) * 1.e3;
@@ -1151,7 +1151,7 @@ int Satellite::sgp4( double tsince )
     depth = sd_earth - sd_sun - delta;
     KSSun *sun = (KSSun*)data->skyComposite()->findByName( "Sun" );
 
-    m_is_eclipsed = sd_earth >= sd_sun  &&  depth >= 0
+    m_is_eclipsed = sd_earth >= sd_sun  &&  depth >= 0;
     m_is_visible  = !m_is_eclipsed && sun->alt().Degrees() <= -12.0 && elevation >= 0.0;
 
     return( 0 );

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

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