[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    branches/KDE/4.0/kdegraphics/okular/ui
From:       Pino Toscano <pino () kde ! org>
Date:       2008-03-23 23:18:37
Message-ID: 1206314317.570018.22107.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 789332 by pino:

Backport a couple of fixes to the annotation window:
- explicitely deny rich text
- set the plain text w/o an implicit html conversion

CCBUG: 159641


 M  +3 -1      annotwindow.cpp  


--- branches/KDE/4.0/kdegraphics/okular/ui/annotwindow.cpp #789331:789332
@@ -163,7 +163,9 @@
     setAutoFillBackground( true );
     setFrameStyle( Panel | Raised );
 
-    textEdit = new KTextEdit( GuiUtils::contents( m_annot ), this );
+    textEdit = new KTextEdit( this );
+    textEdit->setAcceptRichText( false );
+    textEdit->setPlainText( GuiUtils::contents( m_annot ) );
     connect(textEdit,SIGNAL(textChanged()),
             this,SLOT(slotsaveWindowText()));
     
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic