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.
remotes/origin/work/aacid/okular_focus_actions
Oliver Sander5 years agocommitted byAlbert Astals Cid
[[deprecated("This PixmapRequest constructor is deprecated, use the one including the device pixel ratio")]]PixmapRequest(DocumentObserver*observer,intpageNumber,intwidth,intheight,intpriority,PixmapRequestFeaturesfeatures);