summaryrefslogtreecommitdiffstats
path: root/kstars/kstars/tools/modcalcapcoord.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kstars/kstars/tools/modcalcapcoord.cpp')
-rw-r--r--kstars/kstars/tools/modcalcapcoord.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/kstars/kstars/tools/modcalcapcoord.cpp b/kstars/kstars/tools/modcalcapcoord.cpp
index 27f4bc0c..9d721f0c 100644
--- a/kstars/kstars/tools/modcalcapcoord.cpp
+++ b/kstars/kstars/tools/modcalcapcoord.cpp
@@ -64,7 +64,7 @@ void modCalcApCoord::showCurrentTime (void)
{
KStars *ks = (KStars*) parent()->parent()->parent();
- KStarsDateTime dt = ks->data()->geo()->LTtoUT( KStarsDateTime::currentDateTime() );
+ KStarsDateTime dt = ks->data()->geo()->LTtoUT( KStarsDateTime::tqcurrentDateTime() );
datBox->setDate( dt.date() );
timBox->setTime( dt.time() );
}
@@ -98,7 +98,7 @@ void modCalcApCoord::slotClearCoords(){
rafBox->clearFields();
decfBox->clearFields();
epoch0Name->setText("");
- datBox->setDate(ExtDate::currentDate());
+ datBox->setDate(ExtDate::tqcurrentDate());
timBox->setTime(TQTime(0,0,0));
}