[Kstars-devel] branches/kstars/summer/kstars/kstars/comast
Prakash Mohan
prak902000 at gmail.com
Tue Jul 14 22:25:38 CEST 2009
SVN commit 996751 by prakash:
(Code-cleanup patch) Fixing code alignment in the readTarget() function.
CCMAIL: kstars-devel at kde.org
M +5 -6 log.cpp
--- branches/kstars/summer/kstars/kstars/comast/log.cpp #996750:996751
@@ -442,7 +442,7 @@
break;
if( reader->isStartElement() ) {
- if( reader->name() == "name" ) {
+ if( reader->name() == "name" ) {
QString Name = reader->readElementText();
if( Name != "star" ) {
o = ks->data()->objectNamed( Name );
@@ -452,10 +452,10 @@
} else if( reader->name() == "time" ) {
if( o )
ks->observingList()->setTime( o, QTime::fromString( reader->readElementText(), "h:mm:ss AP" ) );
- } else if( reader->name() == "notes" ) {
- if( o )
- o->setNotes( reader->readElementText() );
- }
+ } else if( reader->name() == "notes" ) {
+ if( o )
+ o->setNotes( reader->readElementText() );
+ }
// else if( reader->name() == "datasource" )
// kDebug() << reader->readElementText();
// else if( reader->name() == "position" )
@@ -468,7 +468,6 @@
}
}
-
void Comast::Log::readObserver() {
QString name, surname, contact;
while( ! reader->atEnd() ) {
More information about the Kstars-devel
mailing list