compile++
CCMAIL: notmart@gmail.com svn path=/trunk/KDE/kdelibs/; revision=1016997
This commit is contained in:
parent
9ee071c5e3
commit
07f11ce056
@ -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();
|
||||
|
Loading…
Reference in New Issue
Block a user