summaryrefslogtreecommitdiffstats
path: root/kplato/kpttaskdefaultpanel.cc
diff options
context:
space:
mode:
Diffstat (limited to 'kplato/kpttaskdefaultpanel.cc')
-rw-r--r--kplato/kpttaskdefaultpanel.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/kplato/kpttaskdefaultpanel.cc b/kplato/kpttaskdefaultpanel.cc
index 3fd5472b..bcaac757 100644
--- a/kplato/kpttaskdefaultpanel.cc
+++ b/kplato/kpttaskdefaultpanel.cc
@@ -81,7 +81,7 @@ void TaskDefaultPanel::setStartValues(Task &task, StandardWorktime *workTime) {
if (task.constraintStartTime().isValid()) {
setStartDateTime(task.constraintStartTime());
} else {
- TQDate date = TQDate::tqcurrentDate();
+ TQDate date = TQDate::currentDate();
setStartDateTime(TQDateTime(date, TQTime()));
}
if (task.constraintEndTime().isValid()) {