[Kstars-devel] branches/kstars/summer/kstars/kstars/comast

Prakash Mohan prak902000 at gmail.com
Fri Jul 24 14:42:07 CEST 2009


SVN commit 1001890 by prakash:

Fixing a bug in the log class, the Lens tag was not closed in the right place and the read filters functions was not called.

CCMAIL:kstars-devel at kde.org


 M  +3 -0      log.cpp  


--- branches/kstars/summer/kstars/kstars/comast/log.cpp #1001889:1001890
@@ -277,6 +277,7 @@
     writer->writeStartElement( "factor" );
     writer->writeCharacters( QString::number( l->factor() ) );
     writer->writeEndElement();
+    writer->writeEndElement();
 }
 
 void Comast::Log::writeFilter( Comast::Filter *f ) {
@@ -404,6 +405,8 @@
                 readEyepieces();
            else if( reader->name() =="lenses" )
                 readLenses();
+           else if( reader->name() =="filters" )
+                readFilters();
            else if( reader->name() == "observation" ) 
                 readObservation( reader->attributes().value( "id" ).toString() );
            else if( reader->name() == "geodate" )


More information about the Kstars-devel mailing list