qt5base-lts/tests/auto/gui/painting
Eskil Abrahamsen Blomfeldt d056618d68 Make sure widget is polished before checking its font
QWidget is polished when show() is called, so unless you do this
first, QWidget::font() will return a default constructed QFont,
and not necessarily the default specified in the platform theme.
Comparing this to QPainter::font() later, which has been resolved
against the platform theme font, and not the default constructed
font, you can get a mismatch and a false test failure. This
happened on Android.

Change-Id: I41ef5b10879bbd4bb8ef8d52ecaccf5e8e894075
Reviewed-by: Gunnar Sletta <gunnar@sletta.org>
2015-01-08 10:07:00 +01:00
..
qbrush Update license headers and add new license files 2014-09-24 12:26:19 +02:00
qcolor Update license headers and add new license files 2014-09-24 12:26:19 +02:00
qpagelayout Update license headers and add new license files 2014-09-24 12:26:19 +02:00
qpagesize Update license headers and add new license files 2014-09-24 12:26:19 +02:00
qpaintengine Update license headers and add new license files 2014-09-24 12:26:19 +02:00
qpainter Make sure widget is polished before checking its font 2015-01-08 10:07:00 +01:00
qpainterpath Update license headers and add new license files 2014-09-24 12:26:19 +02:00
qpainterpathstroker Update license headers and add new license files 2014-09-24 12:26:19 +02:00
qpathclipper Update license headers and add new license files 2014-09-24 12:26:19 +02:00
qpdfwriter Update license headers and add new license files 2014-09-24 12:26:19 +02:00
qpen Update license headers and add new license files 2014-09-24 12:26:19 +02:00
qpolygon Update license headers and add new license files 2014-09-24 12:26:19 +02:00
qregion Update license headers and add new license files 2014-09-24 12:26:19 +02:00
qtransform Update license headers and add new license files 2014-09-24 12:26:19 +02:00
qwmatrix Update license headers and add new license files 2014-09-24 12:26:19 +02:00
painting.pro QPdfWriter - Use QPageSize and QPageLayout 2014-03-17 13:45:52 +01:00