aboutsummaryrefslogtreecommitdiffstats
path: root/src/modules/theme/packthemedialog.cpp
diff options
context:
space:
mode:
authorGravatar Noldor2008-05-18 12:08:40 +0000
committerGravatar Noldor2008-05-18 12:08:40 +0000
commit13cc59072532f7c2d35e6297d7e5985be9918365 (patch)
tree28f7cd271df99e0e6867f7a0c78ace7d392a0a43 /src/modules/theme/packthemedialog.cpp
parenttranslation targets: cleaned up the bash scripting stuff (now it should be qu... (diff)
downloadKVIrc-13cc59072532f7c2d35e6297d7e5985be9918365.tar.gz
KVIrc-13cc59072532f7c2d35e6297d7e5985be9918365.tar.bz2
KVIrc-13cc59072532f7c2d35e6297d7e5985be9918365.zip
QT4 resource port (wip)
git-svn-id: https://svn.kvirc.de/svn/trunk/kvirc@1812 17fca916-40b9-46aa-a4ea-0a15b648b75c
Diffstat (limited to 'src/modules/theme/packthemedialog.cpp')
-rw-r--r--src/modules/theme/packthemedialog.cpp6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/modules/theme/packthemedialog.cpp b/src/modules/theme/packthemedialog.cpp
index a67f06328..d7ee2f1bb 100644
--- a/src/modules/theme/packthemedialog.cpp
+++ b/src/modules/theme/packthemedialog.cpp
@@ -190,7 +190,11 @@ KviPackThemeDialog::KviPackThemeDialog(QWidget * pParent,KviPointerList<KviTheme
KviTalTextEdit * pTextEdit = new KviTalTextEdit(pPage);
pTextEdit->setBackgroundRole(QPalette::Window);
pTextEdit->setReadOnly(true);
- pTextEdit->setText(szThemesDescription);
+ QTextDocument *doc=new QTextDocument(pTextEdit);
+ debug("Create dialog html");
+ doc->setHtml(szThemesDescription);
+ pTextEdit->setDocument(doc);
+ //pTextEdit->setText(szThemesDescription);
pLayout->addWidget(pTextEdit,1,0);
pLayout->setRowStretch(1,1);