compile++

CCMAIL: notmart@gmail.com

svn path=/trunk/KDE/kdelibs/; revision=1016997
This commit is contained in:
Allen Winter 2009-08-29 14:22:52 +00:00
parent 9ee071c5e3
commit 07f11ce056

View File

@ -366,7 +366,7 @@ void PushButton::paint(QPainter *painter,
QRectF rect = contentsRect();
if (!nativeWidget()->icon().isNull()) {
const iconSize = qMin(rect.width(), rect.height());
const qreal iconSize = qMin(rect.width(), rect.height());
QPixmap iconPix = nativeWidget()->icon().pixmap(iconSize);
if (!isEnabled()) {
KIconEffect *effect = KIconLoader::global()->iconEffect();