aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/qml/debugger/qv4debugger/tst_qv4debugger.cpp
diff options
context:
space:
mode:
authorMorten Johan Sørvig <morten.sorvig@qt.io>2017-03-30 12:01:09 +0200
committerShawn Rutledge <shawn.rutledge@qt.io>2017-03-31 13:04:49 +0000
commit0043fab778f2497f644c434a194b5c5eec851819 (patch)
tree66179017724f17c97035d7bc2c4b1ea1953399cd /tests/auto/qml/debugger/qv4debugger/tst_qv4debugger.cpp
parent8132d628b1568cb750a61bc95c5b0632595e2854 (diff)
Fix QQuickCanvasItem::toImage() high-DPI capture
Make toImage() work for devicePixelRatio > 1 by scaling the source rect. Also set the devicePixelRatio on the returned image. Task-number: QTBUG-59170 Change-Id: I0c8ccd562c1cf1e89ff37ca1806b46296480b0d0 Reviewed-by: Shawn Rutledge <shawn.rutledge@qt.io>
Diffstat (limited to 'tests/auto/qml/debugger/qv4debugger/tst_qv4debugger.cpp')
0 files changed, 0 insertions, 0 deletions