[KDecoration] Use QIcon::paint
ClosedPublic

Authored by broulik on Dec 2 2019, 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
Lint Skipped
Unit
Unit Tests Skipped
broulik created this revision.Dec 2 2019, 6:43 PM
Restricted Application added a project: Plasma. · View Herald TranscriptDec 2 2019, 6:43 PM
Restricted Application added a subscriber: plasma-devel. · View Herald Transcript
broulik requested review of this revision.Dec 2 2019, 6:43 PM
This revision is now accepted and ready to land.Dec 2 2019, 6:52 PM
This revision was automatically updated to reflect the committed changes.