Commit 6413ceec authored by Kari Pihkala's avatar Kari Pihkala Committed by Jake Petroules
Browse files

Fix default hotspot of a hidpi QCursor


The hotspot is defined in device independent coordinates, so
the default coordinates need to be divided by device pixel ratio.

Also, modify the scaling of cursor's pixmap to use SmoothTransformation to
generate cleaner looking lodpi cursors from hidpi cursors.

Change-Id: Ia938fd1e476e19e796f30712e23b06a5efed9964
Task-number: QTBUG-34116
Reviewed-by: default avatarJake Petroules <jake.petroules@theqtcompany.com>
parent cb12da03
No related merge requests found
Showing with 8 additions and 7 deletions
Supports Markdown
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