[Kstars-devel] kdeedu/kstars/kstars

Pablo de Vicente p.devicente at wanadoo.es
Tue Mar 9 08:41:03 CET 2004


CVS commit by pvicente: 

- Fixed the problem when starting up for the first time the batch mode for the
Horizontal coordinates module. I initialize a boolen variable in the 
constructor
- I have also added to the constructor the initialization of the Date, Time, 
longitude and latitude fields using the current date time and the 
preferences in KStars
CCMAIL: kstars-devel at kde.org


  M +5 -1      modcalcazel.cpp   1.10


--- kdeedu/kstars/kstars/modcalcazel.cpp  #1.9:1.10
@@ -40,4 +40,5 @@ modCalcAzel::modCalcAzel(QWidget *parent
         initGeo();
         showLongLat();
+        horInputCoords = FALSE;
         this->show();
 }
@@ -81,5 +82,6 @@ void modCalcAzel::showCurrentDateTime (v
         datBox->setDate( dt.date() );
         timBox->setTime( dt.time() );
-
+        dateBoxBatch->setDate( dt.date() );
+        utBoxBatch->setTime( dt.time() );
 }
 
@@ -145,4 +147,6 @@ void modCalcAzel::showLongLat(void)
         longBox->show( ks->geo()->lng() );
         latBox->show( ks->geo()->lat() );
+        longBoxBatch->show( ks->geo()->lng() );
+        latBoxBatch->show( ks->geo()->lat() );
 }
 




More information about the Kstars-devel mailing list