summaryrefslogtreecommitdiffstats
path: root/kplato/kpttaskgeneralpanel.cc
diff options
context:
space:
mode:
Diffstat (limited to 'kplato/kpttaskgeneralpanel.cc')
-rw-r--r--kplato/kpttaskgeneralpanel.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/kplato/kpttaskgeneralpanel.cc b/kplato/kpttaskgeneralpanel.cc
index 6dd1dad2..c40554de 100644
--- a/kplato/kpttaskgeneralpanel.cc
+++ b/kplato/kpttaskgeneralpanel.cc
@@ -39,7 +39,7 @@
#include <kabc/addresseedialog.h>
#include <kdatewidget.h>
-#include <tqlayout.h>
+#include <layout.h>
#include <tqlabel.h>
#include <tqdatetime.h>
#include <tqdatetimeedit.h>
@@ -93,7 +93,7 @@ void TaskGeneralPanel::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()) {