Icon: Use correct devicePixelRatio
QQuickWindow has two devicePixelRatios, documentation is to always use the effectiveDevicePixelRatio.
This matters when rendering into a QQuickWidget where the window scale does not match the screen scale.
--
Also fix dynamic changes