Skip to content
Commit ccda6d2a authored by Oliver Sander's avatar Oliver Sander Committed by Albert Astals Cid
Browse files

Remove device pixel ratio scaling from PixmapRequest

The PixmapRequest constructor expected width and height in logical
pixels, and scaled them to device pixels.  However, not knowing what
screen the request is for, it had to use qApp->devicePixelRatio()
for the scaling.  That value may not be correct if not all screens
use the same scaling.

Fix this by introducing a new constructor that takes the device
pixel ratio as an additional argument, and deprecating the old
constructor.
parent e3d090e9
Pipeline #53439 passed with stage
in 10 minutes and 43 seconds
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment