summaryrefslogtreecommitdiffstats
path: root/kstars/kstars/kspopupmenu.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kstars/kstars/kspopupmenu.cpp')
-rw-r--r--kstars/kstars/kspopupmenu.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/kstars/kstars/kspopupmenu.cpp b/kstars/kstars/kspopupmenu.cpp
index 6f10b09b..b8049e00 100644
--- a/kstars/kstars/kspopupmenu.cpp
+++ b/kstars/kstars/kspopupmenu.cpp
@@ -51,7 +51,7 @@ void KSPopupMenu::createEmptyMenu( SkyObject *nullObj ) {
void KSPopupMenu::createStarMenu( StarObject *star ) {
//Add name, rise/set time, center/track, and detail-window items
- initPopupMenu( star, star->translatedLongName(), i18n( "Spectral type: %1" ).tqarg(star->sptype()),
+ initPopupMenu( star, star->translatedLongName(), i18n( "Spectral type: %1" ).arg(star->sptype()),
i18n( "star" ) );
//If the star is named, add custom items to popup menu based on object's ImageList and InfoList
@@ -349,7 +349,7 @@ void KSPopupMenu::setRiseSetLabels( SkyObject *obj ) {
if ( rtime.isValid() ) {
//We can round to the nearest minute by simply adding 30 seconds to the time.
- rt = i18n( "Rise time: %1" ).tqarg( rtime.addSecs(30).toString( "hh:mm" ) );
+ rt = i18n( "Rise time: %1" ).arg( rtime.addSecs(30).toString( "hh:mm" ) );
} else if ( obj->alt()->Degrees() > 0 ) {
rt = i18n( "No rise time: Circumpolar" );
@@ -365,7 +365,7 @@ void KSPopupMenu::setRiseSetLabels( SkyObject *obj ) {
if ( stime.isValid() ) {
//We can round to the nearest minute by simply adding 30 seconds to the time.
- st = i18n( "the time at which an object falls below the horizon", "Set time: %1" ).tqarg( stime.addSecs(30).toString( "hh:mm" ) );
+ st = i18n( "the time at which an object falls below the horizon", "Set time: %1" ).arg( stime.addSecs(30).toString( "hh:mm" ) );
} else if ( obj->alt()->Degrees() > 0 ) {
st = i18n( "No set time: Circumpolar" );
@@ -379,7 +379,7 @@ void KSPopupMenu::setRiseSetLabels( SkyObject *obj ) {
if ( ttime.isValid() ) {
//We can round to the nearest minute by simply adding 30 seconds to the time.
- tt = i18n( "Transit time: %1" ).tqarg( ttime.addSecs(30).toString( "hh:mm" ) );
+ tt = i18n( "Transit time: %1" ).arg( ttime.addSecs(30).toString( "hh:mm" ) );
} else {
tt = "--:--";
}