[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: KDE/kdebase/workspace/kcontrol/kfontinst/kcmfontinst
From: Craig Drummond <craig () kde ! org>
Date: 2009-09-29 11:55:39
Message-ID: 1254225339.546754.2764.nullmailer () svn ! kde ! org
[Download RAW message or body]
SVN commit 1029275 by craig:
No need to construct QPen from QBrush - just set colour
M +1 -1 PreviewList.cpp
--- trunk/KDE/kdebase/workspace/kcontrol/kfontinst/kcmfontinst/PreviewList.cpp #1029274:1029275
@@ -132,7 +132,7 @@
opt.rect.adjust(constBorder, option.rect.height()-(1+itsPreviewSize), -constBorder, 0);
painter->save();
- painter->setPen(QPen(QBrush(QApplication::palette().color(QPalette::Text)), 1));
+ painter->setPen(QApplication::palette().color(QPalette::Text));
QRect lineRect(opt.rect.adjusted(-1, 3, 0, 2));
painter->drawLine(lineRect.bottomLeft(), lineRect.bottomRight());
painter->setClipRect(option.rect.adjusted(constBorder, 0, -constBorder, 0));
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic