diff options
author | Michael Brasser <michael.brasser@nokia.com> | 2010-08-06 03:39:10 (GMT) |
---|---|---|
committer | Michael Brasser <michael.brasser@nokia.com> | 2010-08-06 03:42:48 (GMT) |
commit | 94b1c07c31ab84d30b198cb23291a48f98164827 (patch) | |
tree | fbbf540dfdf6772d9702bf53e2a22964db103530 /tests/auto | |
parent | 97f64280e37f29bdeb92d6de55fac56b1ff37084 (diff) | |
download | Qt-94b1c07c31ab84d30b198cb23291a48f98164827.zip Qt-94b1c07c31ab84d30b198cb23291a48f98164827.tar.gz Qt-94b1c07c31ab84d30b198cb23291a48f98164827.tar.bz2 |
Top-level QML item should not have special focus handling.
It's the scene itself that acts as a focus scope, not the top-level
item.
Task-number: QTBUG-12682
Reviewed-by: Aaron Kennedy
Diffstat (limited to 'tests/auto')
-rw-r--r-- | tests/auto/declarative/qdeclarativefocusscope/tst_qdeclarativefocusscope.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/auto/declarative/qdeclarativefocusscope/tst_qdeclarativefocusscope.cpp b/tests/auto/declarative/qdeclarativefocusscope/tst_qdeclarativefocusscope.cpp index b138f61..ec8f048 100644 --- a/tests/auto/declarative/qdeclarativefocusscope/tst_qdeclarativefocusscope.cpp +++ b/tests/auto/declarative/qdeclarativefocusscope/tst_qdeclarativefocusscope.cpp @@ -336,7 +336,7 @@ void tst_qdeclarativefocusscope::noParentFocus() view->setSource(QUrl::fromLocalFile(SRCDIR "/data/chain.qml")); QVERIFY(view->rootObject()); - QVERIFY(view->rootObject()->property("focus1") == true); + QVERIFY(view->rootObject()->property("focus1") == false); QVERIFY(view->rootObject()->property("focus2") == false); QVERIFY(view->rootObject()->property("focus3") == true); QVERIFY(view->rootObject()->property("focus4") == true); |