[Kstars-devel] KDE/kdeedu/kstars/kstars/tools
Prakash Mohan
prak902000 at gmail.com
Mon Jun 8 13:21:31 CEST 2009
SVN commit 978857 by prakash:
Avoiding the display of unrealistic comet magnitudes.
CCMAIL: kstars-devel at kde.org
M +1 -1 observinglist.cpp
--- trunk/KDE/kdeedu/kstars/kstars/tools/observinglist.cpp #978856:978857
@@ -171,7 +171,7 @@
m_CurrentObject = obj;
QList<QStandardItem*> itemList;
QString smag = "--";
- if ( obj->mag() < 90.0 ) smag = QString::number( obj->mag(), 'g', 2 );
+ if ( -30 < obj->mag() < 90.0 ) smag = QString::number( obj->mag(), 'g', 2 ); // The lower limit to avoid display of unrealistic comet magnitudes
itemList << new QStandardItem( obj->translatedName() )
<< new QStandardItem( obj->ra()->toHMSString() )
<< new QStandardItem( obj->dec()->toDMSString() )
More information about the Kstars-devel
mailing list