summaryrefslogtreecommitdiffstats
path: root/lib/kotext/DateFormatWidget.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lib/kotext/DateFormatWidget.cpp')
-rw-r--r--lib/kotext/DateFormatWidget.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/kotext/DateFormatWidget.cpp b/lib/kotext/DateFormatWidget.cpp
index c93807a3..49749f91 100644
--- a/lib/kotext/DateFormatWidget.cpp
+++ b/lib/kotext/DateFormatWidget.cpp
@@ -147,7 +147,7 @@ void DateFormatWidget::updateLabel()
{
KoVariableDateFormat format;
format.setFormatProperties( resultString() );
- TQDateTime ct = TQDateTime::tqcurrentDateTime().addDays( correctValue() );
+ TQDateTime ct = TQDateTime::currentDateTime().addDays( correctValue() );
label->setText( format.convert( ct ) );
}