┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
path: root/src/commenteditwidget.cpp
diff options
context:
space:
mode:
authorSebastian Trueg <[email protected]>2008-03-31 19:37:55 +0000
committerSebastian Trueg <[email protected]>2008-03-31 19:37:55 +0000
commit2120512d4cd9fbac13016f8d57690b6f2c34499c (patch)
tree08dcff5b3c45e464b223ea3bef95072eff4ba327 /src/commenteditwidget.cpp
parente8cb5a292d146c833e65f1d14bfda1219bda8dfa (diff)
Load existing comments as plain text to allow editing of html comments.
Maybe in the future it would be nice to have a rich text editor here which also handles semantic stuff like automatic annotations. BUG: 160160 svn path=/trunk/KDE/kdebase/apps/; revision=792294
Diffstat (limited to 'src/commenteditwidget.cpp')
-rw-r--r--src/commenteditwidget.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/commenteditwidget.cpp b/src/commenteditwidget.cpp
index 3b98d44d7..29c4ce675 100644
--- a/src/commenteditwidget.cpp
+++ b/src/commenteditwidget.cpp
@@ -162,7 +162,7 @@ QString CommentEditWidget::comment()
bool CommentEditWidget::exec( const QPoint& pos )
{
d->success = false;
- d->textEdit->setText( d->comment );
+ d->textEdit->setPlainText( d->comment );
d->textEdit->setFocus();
d->textEdit->moveCursor( QTextCursor::End );
QEventLoop eventLoop;