diff options
| author | 2007-03-02 21:09:37 +0000 | |
|---|---|---|
| committer | 2007-03-02 21:09:37 +0000 | |
| commit | d98085c3b21d20e5c95a5446242299e22c7484f1 (patch) | |
| tree | e3327817218eefe1b9509c0c1ca156a8d207c671 /src/modules/addon/managementdialog.cpp | |
| parent | another QT3 fix (diff) | |
| download | KVIrc-d98085c3b21d20e5c95a5446242299e22c7484f1.tar.gz KVIrc-d98085c3b21d20e5c95a5446242299e22c7484f1.tar.bz2 KVIrc-d98085c3b21d20e5c95a5446242299e22c7484f1.zip | |
some fix
git-svn-id: https://svn.kvirc.de/svn/trunk/kvirc@404 17fca916-40b9-46aa-a4ea-0a15b648b75c
Diffstat (limited to 'src/modules/addon/managementdialog.cpp')
| -rw-r--r-- | src/modules/addon/managementdialog.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/addon/managementdialog.cpp b/src/modules/addon/managementdialog.cpp index eb9dec585..450c5c2a3 100644 --- a/src/modules/addon/managementdialog.cpp +++ b/src/modules/addon/managementdialog.cpp @@ -138,8 +138,8 @@ void KviScriptAddonListViewItem::paintCell(QPainter * p,const QColorGroup & cg,i p->drawPixmap(LVI_BORDER,LVI_BORDER,*m_pIcon);
int afterIcon = LVI_BORDER + LVI_ICON_SIZE + LVI_SPACING;
int www = m_pListView->visibleWidth() - (afterIcon + LVI_BORDER);
- m_pText->setTextWidth(www);
p->translate(afterIcon,LVI_BORDER);
+ m_pText->setPageSize(QSizeF(www,height() - (LVI_BORDER * 2)));
m_pText->drawContents(p);
#else
p->drawPixmap(LVI_BORDER,LVI_BORDER,*m_pIcon);
|
