Fix waiting for active window breakage
authorMartin Jones <martin.jones@nokia.com>
Thu, 6 Oct 2011 00:10:24 +0000 (10:10 +1000)
committerQt by Nokia <qt-info@nokia.com>
Fri, 7 Oct 2011 01:13:27 +0000 (03:13 +0200)
commit8ce0fcdd068f91353fb069d38e2ecf214015ef16
tree13c09c702005f7fc986bc583b9360a8cb8284340
parente29f198b2a91b30678ebeea0d4908634e7c2b5be
Fix waiting for active window breakage

Use QTRY_COMPARE(view == qGuiApp->focusWindow());

Change-Id: If5934f4355d9eb8da343f98277e3528f56926cd9
Fixes: QTBUG-21682, QTBUG-21683, QTBUG-21687, QTBUG-21680
Reviewed-on: http://codereview.qt-project.org/6087
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Michael Brasser <michael.brasser@nokia.com>
tests/auto/declarative/qsgfocusscope/tst_qsgfocusscope.cpp
tests/auto/declarative/qsggridview/tst_qsggridview.cpp
tests/auto/declarative/qsglistview/incrementalmodel.cpp
tests/auto/declarative/qsglistview/tst_qsglistview.cpp
tests/auto/declarative/qsgpathview/tst_qsgpathview.cpp
tests/auto/declarative/qsgtextedit/tst_qsgtextedit.cpp
tests/auto/declarative/qsgtextinput/tst_qsgtextinput.cpp