qt5base-lts/tests/auto/gui
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
..
image Android: Fix qimagewriter test. 2015-01-08 10:02:23 +01:00
itemmodels Update license headers and add new license files 2014-09-24 12:26:19 +02:00
kernel Prospective stabilization fix for tst_qwindow::positioning(default) 2014-12-18 17:56:03 +01:00
math3d Update license headers and add new license files 2014-09-24 12:26:19 +02:00
painting Make sure widget is polished before checking its font 2015-01-08 10:07:00 +01:00
qopengl Update license headers and add new license files 2014-09-24 12:26:19 +02:00
text Fix possibly corrupted log clusters when using custom tab stops 2014-12-15 21:02:12 +01:00
util Observe QLocale::RejectGroupSeparator in QInt/DoubleValidator. 2014-11-20 16:38:23 +01:00
gui.pro purge vestiges of opengl es 1 support 2014-04-04 19:32:21 +02:00