qt5base-lts/tests/auto/gui/painting/qpainter
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
..
drawEllipse Moved gui autotests into new directory structure 2011-09-01 10:59:49 +02:00
drawLine_rop_bitmap Moved gui autotests into new directory structure 2011-09-01 10:59:49 +02:00
drawPixmap_rop Moved gui autotests into new directory structure 2011-09-01 10:59:49 +02:00
drawPixmap_rop_bitmap Moved gui autotests into new directory structure 2011-09-01 10:59:49 +02:00
utils/createImages Update license headers and add new license files 2014-09-24 12:26:19 +02:00
.gitignore Moved gui autotests into new directory structure 2011-09-01 10:59:49 +02:00
qpainter.pro Android: Fix QPainter autotest 2015-01-08 10:03:27 +01:00
task217400.png Moved gui autotests into new directory structure 2011-09-01 10:59:49 +02:00
testdata.qrc Android: Fix QPainter autotest 2015-01-08 10:03:27 +01:00
tst_qpainter.cpp Make sure widget is polished before checking its font 2015-01-08 10:07:00 +01:00