[Icons KCM] Take into account device pixel ratio for icon preview

Authored by broulik on Feb 8 2017, 2:59 PM.



While at it, fill the pixmap with transparent color instead of window color as the background inside a tab page in Breeze is lighter than the window.

Test Plan

Originally posted as https://git.reviewboard.kde.org/r/125916 but with comments addressed

Diff Detail

R119 Plasma Desktop
Automatic diff as part of commit; lint not applicable.
Automatic diff as part of commit; unit tests not applicable.
broulik updated this revision to Diff 11067.Feb 8 2017, 2:59 PM
broulik retitled this revision from to [Icons KCM] Take into account device pixel ratio for icon preview.
broulik updated this object.
broulik edited the test plan for this revision. (Show Details)
broulik added a reviewer: Plasma.
broulik set the repository for this revision to R119 Plasma Desktop.
Restricted Application added a project: Plasma. · View Herald TranscriptFeb 8 2017, 2:59 PM
Restricted Application added a subscriber: plasma-devel. · View Herald Transcript
davidedmundson accepted this revision.Feb 8 2017, 3:22 PM
davidedmundson added a reviewer: davidedmundson.
This revision is now accepted and ready to land.Feb 8 2017, 3:22 PM
This revision was automatically updated to reflect the committed changes.