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 ddef7c8..436f32b 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::tqcurrentDateTime();
+ TQDateTime now = TQDateTime::currentDateTime();
//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::tqcurrentDateTime();
+ TQDateTime now = TQDateTime::currentDateTime();
BWScheduler::instance().trigger();
}