aboutsummaryrefslogtreecommitdiffstats
path: root/examples/quick/particles/emitters/content/maximumemitted.qml
diff options
context:
space:
mode:
authorLaszlo Agocs <laszlo.agocs@qt.io>2021-10-14 11:32:01 +0200
committerQt Cherry-pick Bot <cherrypick_bot@qt-project.org>2021-10-18 13:51:42 +0000
commit7011fa26f75d88c010843166e649d4ac350f0d04 (patch)
tree65f8c7a5d892449fa6fba7df0d3b381a0dee870f /examples/quick/particles/emitters/content/maximumemitted.qml
parent53005f4b544624f635b01ea7bef024d03453291a (diff)
Fix tst_qquickwindow::grab with non-integer dpr
Do not introduce yet another way of calculating the scaled size. Truncating the width * dpr and height * dpr is separately not the same as doing size * dpr (because that rounds). And it is the latter that is used everywhere. This makes the case not fail anymore with device pixel ratios such as 1.25. Change-Id: Id5d7b1799977967b3110925bf7ccd0417c6bdaa9 Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> Reviewed-by: Christian Strømme <christian.stromme@qt.io> (cherry picked from commit 27027a5424ed2e797ecfa30239bfdb6f89eee0a1) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
Diffstat (limited to 'examples/quick/particles/emitters/content/maximumemitted.qml')
0 files changed, 0 insertions, 0 deletions