Merge branch 'Plasma/5.12'

wilder-pre-rebase
David Edmundson 8 years ago
commit 26bb1ce876
  1. 4
      kdecoration/breezebutton.cpp

@ -136,8 +136,8 @@ namespace Breeze
{
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 {

Loading…
Cancel
Save