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

List:       kde-commits
Subject:    KDE/kdelibs/kdeprint/management
From:       Laurent Montel <montel () kde ! org>
Date:       2007-06-01 13:32:09
Message-ID: 1180704729.125706.21924.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 670444 by mlaurent:

Fix: setReadOnly/setHtml
This bug exists into kde3.5 I will backport it


 M  +3 -1      kxmlcommanddlg.cpp  


--- trunk/KDE/kdelibs/kdeprint/management/kxmlcommanddlg.cpp #670443:670444
@@ -173,6 +173,7 @@
 	m_outputpipe = new QLineEdit(gb_output);
 
 	m_comment = new KTextEdit( this );
+	m_comment->setReadOnly(true);
 	QLabel *m_commentlab = new QLabel( i18n( "Comment:" ), this );
 
 	QVBoxLayout	*l2 = new QVBoxLayout(this);
@@ -411,8 +412,9 @@
 	m_inputpipe->setText(xmlcmd->io(true, true));
 	m_outputfile->setText(xmlcmd->io(false, false));
 	m_outputpipe->setText(xmlcmd->io(false, true));
-	m_comment->setPlainText( xmlcmd->comment() );
+	m_comment->setHtml( xmlcmd->comment() );
 
+
 	viewItem(0);
 }
 
[prev in list] [next in list] [prev in thread] [next in thread] 

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