Second attempt at upscaling icons
Similar to what Qt Image element does, use devicePixelRatio to get the proper geometry of the rectangle where the icon will be painted into, not rounded but compensated so that in the final rendered image will be aligned to the pixel grid
Edited by Marco Martin