summaryrefslogtreecommitdiffstats
path: root/tests/auto/gui
diff options
context:
space:
mode:
authorFriedemann Kleint <Friedemann.Kleint@qt.io>2019-09-12 09:12:17 +0200
committerFriedemann Kleint <Friedemann.Kleint@qt.io>2019-09-16 10:48:52 +0200
commitd20bacbb4cedf012566ce0020f9e53a7c1ecbe5f (patch)
tree42cf9386b4eba75e0af0f9659a27c23134722981 /tests/auto/gui
parent9c76b82885253bbec9d9019b9113be16b15385f2 (diff)
tst_QWidget::translucentWidget(): Pass with High DPI scaling enabled
Since 9c8d1ca18b48dbcc89dda1b9bacdf7d49c7fc754, the test would fail when High DPI scaling is enabled: FAIL! : tst_QWidget::translucentWidget() Compared QImages differ in device pixel ratio. Actual (actual): 2 Expected (expected): 1 .\tst_qwidget.cpp(8913) : failure location Set the device pixel ratio on the expected pixmap to fix this. Change-Id: I517495931c2c6b1f49125bb4b5836e304bdbf545 Reviewed-by: Oliver Wolff <oliver.wolff@qt.io>
Diffstat (limited to 'tests/auto/gui')
0 files changed, 0 insertions, 0 deletions