aboutsummaryrefslogtreecommitdiffstats
path: root/src/modules/theme/managementdialog.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/theme/managementdialog.cpp')
-rw-r--r--src/modules/theme/managementdialog.cpp7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/modules/theme/managementdialog.cpp b/src/modules/theme/managementdialog.cpp
index 4b0150731..e72ede3d6 100644
--- a/src/modules/theme/managementdialog.cpp
+++ b/src/modules/theme/managementdialog.cpp
@@ -54,7 +54,10 @@
#include <qtooltip.h>
#include <qimage.h>
#include <kvi_tal_textedit.h>
-#include <qmultilineedit.h>
+//#include <qmultilineedit.h>
+#ifdef COMPILE_USE_QT4
+#include <QCloseEvent>
+#endif
#include <qbuffer.h>
#include "kvi_options.h"
@@ -105,7 +108,7 @@ KviThemeListBoxItem::KviThemeListBoxItem(KviTalListBox * box,KviThemeInfo * inf)
t += "<br><nobr><font size=\"-1\">";
t += inf->description();
t += "</font></nobr>";
- m_pText = new QSimpleRichText(t,box->font());
+ m_pText = new KviTalSimpleRichText(t,box->font());
int iWidth = box->visibleWidth();
if(iWidth < LVI_MINIMUM_CELL_WIDTH)iWidth = LVI_MINIMUM_CELL_WIDTH;
iWidth -= LVI_BORDER + LVI_ICON_SIZE + LVI_SPACING + LVI_BORDER;