diff options
| author | Timur Pocheptsov <timur.pocheptsov@qt.io> | 2022-06-16 19:06:04 +0200 |
|---|---|---|
| committer | Qt Cherry-pick Bot <cherrypick_bot@qt-project.org> | 2022-06-18 00:17:14 +0000 |
| commit | 3af1c96d7976938b30c1e4d141a84c03d07c7a67 (patch) | |
| tree | e780061de9854baff177d5cf7b5ff730fd03b6e2 /src/qml/compiler/qv4compilerscanfunctions.cpp | |
| parent | a6bd340fa93ba351537929a3fa2ad4c00e4e8c58 (diff) | |
Quick test lib: Account for DPR when grabbing sub-image
Otherwise, the item that we are trying to grab lives in non-pixel
coordinates, so we end up with a sub-image that is smaller than needed
and incorrectly translated.
Fixes: QTBUG-98914
Change-Id: Ic36b4d2cb0de5ef50a726c2ee3207c95d06b6a05
Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io>
(cherry picked from commit 47790977f53400d981d7086b8594937ad6ee8e20)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
Diffstat (limited to 'src/qml/compiler/qv4compilerscanfunctions.cpp')
0 files changed, 0 insertions, 0 deletions
