Relax the reqirement in which order events are delivered.
authorJan-Arve Saether <jan-arve.saether@nokia.com>
Fri, 13 Jul 2012 07:45:37 +0000 (09:45 +0200)
committerQt by Nokia <qt-info@nokia.com>
Fri, 13 Jul 2012 12:18:51 +0000 (14:18 +0200)
commitd45bc23cd519f81aff60a7a090557ca8406b6a58
treee591c93125c3ed1677b468fa8d64f22ed0ce85d7
parent02faddca534f113e1dc42348b3a801b7ac8b65a3
Relax the reqirement in which order events are delivered.

When the pushbutton is shown, it will generate both a ShowEvent and
a StateChange with active=1 (because it is a top level window).

This patch relaxes the reqirement in which order events are delivered.

Ideally the order should also relied on, but I'm not sure if that
is feasible due to differences among window managers across all
platforms.

This got provoked by codereview.qt-project.org/#change,26014

Change-Id: I96159fbb1b64f0ca8d13833d8a4c6799c655afc2
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@nokia.com>
Reviewed-by: Frederik Gladhorn <frederik.gladhorn@nokia.com>
tests/auto/other/qaccessibility/tst_qaccessibility.cpp