summaryrefslogtreecommitdiffstats
path: root/kplato/kptresource.cc
diff options
context:
space:
mode:
Diffstat (limited to 'kplato/kptresource.cc')
-rw-r--r--kplato/kptresource.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/kplato/kptresource.cc b/kplato/kptresource.cc
index 2c218fe9..448074ae 100644
--- a/kplato/kptresource.cc
+++ b/kplato/kptresource.cc
@@ -203,7 +203,7 @@ Resource::Resource(Project *project) : m_project(project), m_schedules(), m_work
m_type = Type_Work;
m_units = 100; // %
- m_availableFrom = DateTime(TQDate::currentDate());
+ m_availableFrom = DateTime(TQDate::tqcurrentDate());
m_availableUntil = TQDateTime(m_availableFrom.addYears(2));
cost.normalRate = 100;