diff options
author | Hugo Parente Lima <hugo.pl@gmail.com> | 2011-09-13 17:44:17 -0300 |
---|---|---|
committer | Hugo Parente Lima <hugo.pl@gmail.com> | 2012-03-08 16:54:51 -0300 |
commit | d86765e535f7b55caa231d90737194bad86cf50d (patch) | |
tree | 74ae5f3a226bbab4c661686c3f90d4a932bc5df1 /tests/QtDeclarative/bug_995.qml | |
parent | 846759b324b147ce29f6390f110b0c136258df07 (diff) |
Unit test for bug 995 - "QDeclarativeView.itemAt returns faulty reference. (leading to SEGFAULT)"
Diffstat (limited to 'tests/QtDeclarative/bug_995.qml')
-rw-r--r-- | tests/QtDeclarative/bug_995.qml | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/tests/QtDeclarative/bug_995.qml b/tests/QtDeclarative/bug_995.qml new file mode 100644 index 000000000..76037001a --- /dev/null +++ b/tests/QtDeclarative/bug_995.qml @@ -0,0 +1,12 @@ +import Qt 4.7 + +Rectangle { + width: 100 + height: 100 + color: "red" + + Text { + text: "Hello World" + anchors.centerIn: parent + } +} |