summaryrefslogtreecommitdiffstats
path: root/kstars/kstars/kstarsdatetime.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kstars/kstars/kstarsdatetime.cpp')
-rw-r--r--kstars/kstars/kstarsdatetime.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/kstars/kstars/kstarsdatetime.cpp b/kstars/kstars/kstarsdatetime.cpp
index 6b406f44..25c3be0b 100644
--- a/kstars/kstars/kstarsdatetime.cpp
+++ b/kstars/kstars/kstarsdatetime.cpp
@@ -55,10 +55,10 @@ KStarsDateTime::KStarsDateTime( long double _jd ) : ExtDateTime() {
setDJD( _jd );
}
-KStarsDateTime KStarsDateTime::currentDateTime() {
- KStarsDateTime dt( ExtDate::currentDate(), TQTime::currentTime() );
+KStarsDateTime KStarsDateTime::tqcurrentDateTime() {
+ KStarsDateTime dt( ExtDate::tqcurrentDate(), TQTime::currentTime() );
if ( dt.time().hour()==0 && dt.time().minute()==0 ) // midnight or right after?
- dt.setDate( ExtDate::currentDate() ); // fetch date again
+ dt.setDate( ExtDate::tqcurrentDate() ); // fetch date again
return dt;
}