[KIconLoader] Take into account devicePixelRatio for overlays
Review Request #129083 - Created Oct. 2, 2016 and discarded
|Kai Uwe Broulik|
Keeps them from being painted outside view and scales them with the image they're supposed to be painted on.
Ran dolphin with device pixel ratio 2, got my symolic link icon again.
Ran it with device pixel ratio 1, looked as it did before.
(couldn't figure out why the VCS icons don't show up though)
Don't explicitly scale emblem by devicePixelRatio.
The iconSize the logic for determining the overlay size is already scaled up (pixmap size() is the raw size, eg. 64 for a 32px pixmap on 2x dpr) so it will already pick a larger overlay. This fixes the "mounted" emblem in Dolphin's sidebar being gigantic compared to the drive icon underneath it.
Revision 3 (+12 -6)