summaryrefslogtreecommitdiffstats
path: root/src/testlib/qtestresult.cpp
diff options
context:
space:
mode:
authorFriedemann Kleint <Friedemann.Kleint@qt.io>2019-05-29 13:18:14 +0200
committerFriedemann Kleint <Friedemann.Kleint@qt.io>2019-07-09 20:15:34 +0200
commit9c8d1ca18b48dbcc89dda1b9bacdf7d49c7fc754 (patch)
tree00f0a5455ca40141e3acf751ff1874af2e4313c2 /src/testlib/qtestresult.cpp
parente81ece3f8f4f930182f2b415e387691b7fa8c985 (diff)
QTestlib: Check compared images for device pixel ratio
When accidentally running a test doing screen-grabbing with High DPI scaling active, sizes of the obtained pixmaps can differ due to the device pixel ratio. Add a check to make that clearer. [ChangeLog][QtTestLib] Comparison of QImage, QPixmap now checks for the device pixel ratio. Change-Id: Id8d5187e99c565c44a7bfb8b9cfb09737815fb15 Reviewed-by: Edward Welbourne <edward.welbourne@qt.io>
Diffstat (limited to 'src/testlib/qtestresult.cpp')
0 files changed, 0 insertions, 0 deletions