[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    kdeedu/kstars/kstars
From:       Jason Harris <kstars () 30doradus ! org>
Date:       2003-12-31 17:37:03
Message-ID: 20031231173703.E4BDB93EA () office ! kde ! org
[Download RAW message or body]

CVS commit by harris: 

Display localized name of objects in the Altitude vs. Time Tool.  This 
fixes one of the three issues reported in BR #71469.  This fix 
does not break the strings freeze, we simply call 
SkyObject::translatedName() instead of SkyObject::name().


  M +2 -2      altvstime.cpp   1.9


--- kdeedu/kstars/kstars/altvstime.cpp  #1.8:1.9
@@ -218,9 +218,9 @@ void AltVsTime::processObject( SkyObject
                 View->addObject( po );
 
-                avtUI->PlotList->insertItem( o->name() );
+                avtUI->PlotList->insertItem( o->translatedName() );
                 avtUI->PlotList->setCurrentItem( avtUI->PlotList->count() - 1 );
                 avtUI->raBox->showInHours(o->ra() );
                 avtUI->decBox->showInDegrees(o->dec() );
-                avtUI->nameBox->setText(o->name() );
+                avtUI->nameBox->setText(o->translatedName() );
 
                 //Set epochName to epoch shown in date tab


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic