diff options
author | Mitch Curtis <mitch.curtis@qt.io> | 2017-05-26 13:28:55 +0200 |
---|---|---|
committer | Mitch Curtis <mitch.curtis@qt.io> | 2017-05-29 10:35:46 +0000 |
commit | a089de0d992072bb06aa35323a53ca6cb5d76557 (patch) | |
tree | fa53adcd26e286058d22c5d43d5cc5d71336078e /src/plugins/platforms/xcb/qxcbwindow.cpp | |
parent | 8b1377fde16a2049a1c27f6d005bff84a8f85f28 (diff) |
Fix tst_QWidget::translucentWidget() on high DPI displays
It was grabbing a QLabel without accounting for the size of
the window in the case where the DPI is larger than 1:
FAIL! : tst_QWidget::translucentWidget() Compared values are not the same
Actual (actual.size()) : QSize(32x32)
Expected (expected.size()): QSize(16x16)
Change-Id: I4873f3c6364ee2696f5612d91e6c97c60b2cd915
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
Diffstat (limited to 'src/plugins/platforms/xcb/qxcbwindow.cpp')
0 files changed, 0 insertions, 0 deletions