This revision was automatically updated to reflect the committed changes.
Closed by commit R31:e827fa080137: Fix app icon button in window decos with
high DPI in previews. (authored by davidedmundson).
REPOSITORY
R31 Breeze
CHANGES SINCE LAST UPDATE
https://phabricator.kde.org/D6763?vs=16851
mart accepted this revision.
mart added inline comments.
This revision is now accepted and ready to land.
INLINE COMMENTS
> breezebutton.cpp:140
> const QPixmap pixmap =
> decoration()->client().data()->icon().pixmap( m_iconSize );
> -painter->drawPixmap(iconRect.center(
davidedmundson created this revision.
Restricted Application added a project: Plasma.
Restricted Application added a subscriber: plasma-devel.
REVISION SUMMARY
With both Qt devicePixelRatio > 1 and Qt::AA_UseHighDpiPixmaps set
QIcon.pixmap() will return a bigger image than the size requested,