summaryrefslogtreecommitdiffstats
path: root/kstars/kstars/tools/modcalcazel.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kstars/kstars/tools/modcalcazel.cpp')
-rw-r--r--kstars/kstars/tools/modcalcazel.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/kstars/kstars/tools/modcalcazel.cpp b/kstars/kstars/tools/modcalcazel.cpp
index a2dee393..e276defc 100644
--- a/kstars/kstars/tools/modcalcazel.cpp
+++ b/kstars/kstars/tools/modcalcazel.cpp
@@ -81,7 +81,7 @@ void modCalcAzel::showCurrentDateTime (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() );
@@ -179,7 +179,7 @@ void modCalcAzel::slotClearCoords()
elBox->clearFields();
epochName->setText("");
- datBox->setDate(ExtDate::currentDate());
+ datBox->setDate(ExtDate::tqcurrentDate());
timBox->setTime(TQTime(0,0,0));
}