diff --git a/kdecoration/breezebutton.cpp b/kdecoration/breezebutton.cpp --- a/kdecoration/breezebutton.cpp +++ b/kdecoration/breezebutton.cpp @@ -136,8 +136,8 @@ { const QRectF iconRect( geometry().topLeft(), m_iconSize ); - const QPixmap pixmap = decoration()->client().data()->icon().pixmap( m_iconSize ); - painter->drawPixmap(iconRect.center() - QPoint(pixmap.width()/2, pixmap.height()/2)/pixmap.devicePixelRatio(), pixmap); + decoration()->client().data()->icon().paint(painter, iconRect.toRect()); + } else {