From: Sebastian Trueg Date: Mon, 31 Mar 2008 19:37:55 +0000 (+0000) Subject: Load existing comments as plain text to allow editing of html comments. X-Git-Url: https://cloud.milkyroute.net/gitweb/dolphin.git/commitdiff_plain/2120512d4cd9fbac13016f8d57690b6f2c34499c 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 --- 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;