[Kstars-devel] KDE/kdeedu/kstars/kstars/tools

Akarsh Simha akarshsimha at gmail.com
Fri Dec 18 03:20:24 CET 2009


SVN commit 1063392 by asimha:

Although this is not the correct way to sort DSOs by scheduled time
(ideally, the list should start with post 12 noon culminations and end
with forenoon culminations), this patch makes the default sorting by
the "Time" column in the Observing List (Session Plan) work better
than the present one, in which AM and PM culminations get mixed
up. This makes the observing tool a lot more convenient.

One more of those one-liners that makes a really huge difference (at
least to me) :-)

CCMAIL: kstars-devel at kde.org, prakash.mohan at kdemail.net



 M  +1 -1      observinglist.cpp  


--- trunk/KDE/kdeedu/kstars/kstars/tools/observinglist.cpp #1063391:1063392
@@ -292,7 +292,7 @@
                     << new QStandardItem( p.dec()->toDMSString() ) 
                     << new QStandardItem( smag )
                     << new QStandardItem( obj->typeName() )
-                    << new QStandardItem( TimeHash.value( obj->name(), obj->transitTime( dt, geo ) ).toString( "h:mm A" ) )
+                    << new QStandardItem( TimeHash.value( obj->name(), obj->transitTime( dt, geo ) ).toString( "HH:mm" ) )
                     << new QStandardItem( p.alt()->toDMSString() )
                     << new QStandardItem( p.az()->toDMSString() );
         m_Session->appendRow( itemList );


More information about the Kstars-devel mailing list