[KDecoration] Use QIcon::paint
ClosedPublic

Authored by broulik on Mon, Dec 2, 6:43 PM.

Details

Summary

Properly takes into account device pixel ratio. It's what Breeze decoration code is doing.

Test Plan

5.17?
Fixes broken icon positioning in the KCM with high dpi.


There's still something funky with the shadows but this patch at least fixes the most obvious blunder:

Decoration in KWin still looks the same.

Diff Detail

Repository
R113 Oxygen Theme
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
broulik created this revision.Mon, Dec 2, 6:43 PM
Restricted Application added a project: Plasma. · View Herald TranscriptMon, Dec 2, 6:43 PM
Restricted Application added a subscriber: plasma-devel. · View Herald Transcript
broulik requested review of this revision.Mon, Dec 2, 6:43 PM
This revision is now accepted and ready to land.Mon, Dec 2, 6:52 PM
This revision was automatically updated to reflect the committed changes.