summaryrefslogtreecommitdiffstats
path: root/lib/kotext/KoCommentDia.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lib/kotext/KoCommentDia.cpp')
-rw-r--r--lib/kotext/KoCommentDia.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/kotext/KoCommentDia.cpp b/lib/kotext/KoCommentDia.cpp
index a6c8b2bb..be5278e1 100644
--- a/lib/kotext/KoCommentDia.cpp
+++ b/lib/kotext/KoCommentDia.cpp
@@ -64,7 +64,7 @@ TQString KoCommentDia::commentText()
void KoCommentDia::slotAddAuthorName()
{
- TQString date = KGlobal::locale()->formatDate( TQDate::tqcurrentDate() );
+ TQString date = KGlobal::locale()->formatDate( TQDate::currentDate() );
TQString time = KGlobal::locale()->formatTime( TQTime::currentTime() );
TQString result = TQString("--------%1 ,%2, %3------\n").tqarg(authorName).tqarg(date).tqarg(time);
m_multiLine->insertLine( result, m_multiLine->numLines() );