Stabilize the QHeaderView test.
authorFriedemann Kleint <Friedemann.Kleint@nokia.com>
Tue, 31 Jul 2012 07:06:50 +0000 (09:06 +0200)
committerQt by Nokia <qt-info@nokia.com>
Tue, 31 Jul 2012 09:57:21 +0000 (11:57 +0200)
commit58ab483cdb685ee71daf4e68907a97481a411628
treefb8c49545e8ea661e5a9f69a0758f004035bab0a
parent05815679d8f88c9d05832c34f8a4274f14ec0353
Stabilize the QHeaderView test.

The test has a member QWidget *topLevel which it recreates
and shows in init() without waiting for it to be exposed
although it is not used in every test case. This apparently
interferes with some tests that create separate top levels.
Do not show in init(), delete the topLevel.
Add wait to the cases where the topLevel is shown.

Change-Id: Ib428020b36dc82991d41e68478fd583bdfb004c7
Reviewed-by: Sergio Ahumada <sergio.ahumada@nokia.com>
tests/auto/widgets/itemviews/qheaderview/tst_qheaderview.cpp