summaryrefslogtreecommitdiffstats
path: root/kplato/kpttaskprogresspanel.cc
diff options
context:
space:
mode:
Diffstat (limited to 'kplato/kpttaskprogresspanel.cc')
-rw-r--r--kplato/kpttaskprogresspanel.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/kplato/kpttaskprogresspanel.cc b/kplato/kpttaskprogresspanel.cc
index e8cfb570..bed7a3c2 100644
--- a/kplato/kpttaskprogresspanel.cc
+++ b/kplato/kpttaskprogresspanel.cc
@@ -147,7 +147,7 @@ void TaskProgressPanelImpl::slotChanged() {
void TaskProgressPanelImpl::slotStartedChanged(bool state) {
if (state) {
- startTime->setDateTime(TQDateTime::tqcurrentDateTime());
+ startTime->setDateTime(TQDateTime::currentDateTime());
percentFinished->setValue(0);
}
enableWidgets();
@@ -158,7 +158,7 @@ void TaskProgressPanelImpl::slotFinishedChanged(bool state) {
if (state) {
percentFinished->setValue(100);
if (!finishTime->dateTime().isValid()) {
- finishTime->setDateTime(TQDateTime::tqcurrentDateTime());
+ finishTime->setDateTime(TQDateTime::currentDateTime());
}
}
enableWidgets();