summaryrefslogtreecommitdiffstats
path: root/plugins/scheduler/schedulerplugin.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/scheduler/schedulerplugin.cpp')
-rw-r--r--plugins/scheduler/schedulerplugin.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/scheduler/schedulerplugin.cpp b/plugins/scheduler/schedulerplugin.cpp
index 436f32b..ddef7c8 100644
--- a/plugins/scheduler/schedulerplugin.cpp
+++ b/plugins/scheduler/schedulerplugin.cpp
@@ -74,7 +74,7 @@ namespace kt
getGUI()->addPrefPage(Pref);
BWScheduler::instance().setCoreInterface(getCore());
- TQDateTime now = TQDateTime::currentDateTime();
+ TQDateTime now = TQDateTime::tqcurrentDateTime();
//each hour
TQDateTime hour = now.addSecs(3600);
@@ -115,7 +115,7 @@ namespace kt
void SchedulerPlugin::timer_triggered()
{
m_timer.changeInterval(3600*1000);
- TQDateTime now = TQDateTime::currentDateTime();
+ TQDateTime now = TQDateTime::tqcurrentDateTime();
BWScheduler::instance().trigger();
}