summaryrefslogtreecommitdiffstats
path: root/kstars/kstars/tools/modcalcdaylength.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kstars/kstars/tools/modcalcdaylength.cpp')
-rw-r--r--kstars/kstars/tools/modcalcdaylength.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/kstars/kstars/tools/modcalcdaylength.cpp b/kstars/kstars/tools/modcalcdaylength.cpp
index 4f2579c8..dcfba7bd 100644
--- a/kstars/kstars/tools/modcalcdaylength.cpp
+++ b/kstars/kstars/tools/modcalcdaylength.cpp
@@ -40,7 +40,7 @@ modCalcDayLength::~modCalcDayLength() {}
void modCalcDayLength::showCurrentDate (void)
{
- KStarsDateTime dt( KStarsDateTime::tqcurrentDateTime() );
+ KStarsDateTime dt( KStarsDateTime::currentDateTime() );
datBox->setDate( dt.date() );
}
@@ -71,7 +71,7 @@ void modCalcDayLength::slotClearCoords(){
elTransitBox->clearFields();
// reset to current date
- datBox->setDate(ExtDate::tqcurrentDate());
+ datBox->setDate(ExtDate::currentDate());
// reset times to 00:00:00
setTimeBox->clearFields();