summaryrefslogtreecommitdiffstats
path: root/tests/auto/declarative
diff options
context:
space:
mode:
authorKai Koehne <kai.koehne@nokia.com>2009-05-04 12:11:44 (GMT)
committerKai Koehne <kai.koehne@nokia.com>2009-05-04 12:11:44 (GMT)
commit225942d32c358386de7c869ad3363bfdc990fef2 (patch)
tree291fc27b10bb129dbaeba9446a119c92e12ae3a9 /tests/auto/declarative
parentd77e368795cf27131cdb625800c6d654aef6dd4e (diff)
downloadQt-225942d32c358386de7c869ad3363bfdc990fef2.zip
Qt-225942d32c358386de7c869ad3363bfdc990fef2.tar.gz
Qt-225942d32c358386de7c869ad3363bfdc990fef2.tar.bz2
Fix script snippet in test example
Diffstat (limited to 'tests/auto/declarative')
-rw-r--r--tests/auto/declarative/qmldom/tst_qmldom.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/auto/declarative/qmldom/tst_qmldom.cpp b/tests/auto/declarative/qmldom/tst_qmldom.cpp
index 7e7e067..390e79a 100644
--- a/tests/auto/declarative/qmldom/tst_qmldom.cpp
+++ b/tests/auto/declarative/qmldom/tst_qmldom.cpp
@@ -63,7 +63,7 @@ void tst_qmldom::loadProperties()
void tst_qmldom::loadChildObject()
{
- QByteArray qml = "Item { Item }";
+ QByteArray qml = "Item { Item {} }";
//QByteArray qml = "<Item> <Item/> </Item>";
QmlDomDocument document;