summaryrefslogtreecommitdiffstats
path: root/examples
diff options
context:
space:
mode:
authorTor Arne Vestbø <tor.arne.vestbo@qt.io>2018-08-08 20:44:37 +0200
committerTor Arne Vestbø <tor.arne.vestbo@qt.io>2018-08-09 22:36:11 +0000
commit6b8e03456b3fdb67438e597f112efcb5d0ea6719 (patch)
treebda450c0408933549c9129b69040c5380c6a101e /examples
parentda62e76eacd538eb61e188bc53e24cd1aaf01e49 (diff)
tst_qmenu: Fix funky use of QTRY_VERIFY with qWaitFor
The QTRY_VERIFY was needed because the window doesn't initially have a handle, and QTest::qWaitForWindowActive(QWidget *) only checks the active state of the widget if it does, returning false if not. This broken logic should be fixed, but for now let's make it clear what's actually going on by using an explicit wait for the window handle. Change-Id: I6dd89e0894efed14f4b9a2562dfe8ca76b5ef89c Reviewed-by: Gabriel de Dietrich <gabriel.dedietrich@qt.io> Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
Diffstat (limited to 'examples')
0 files changed, 0 insertions, 0 deletions