summaryrefslogtreecommitdiffstats
path: root/tests/auto
diff options
context:
space:
mode:
authorMichael Brasser <michael.brasser@nokia.com>2010-08-06 03:39:10 (GMT)
committerMichael Brasser <michael.brasser@nokia.com>2010-08-06 03:42:48 (GMT)
commit94b1c07c31ab84d30b198cb23291a48f98164827 (patch)
treefbbf540dfdf6772d9702bf53e2a22964db103530 /tests/auto
parent97f64280e37f29bdeb92d6de55fac56b1ff37084 (diff)
downloadQt-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.cpp2
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);