summaryrefslogtreecommitdiffstats
path: root/src/declarative
diff options
context:
space:
mode:
authorWarwick Allison <warwick.allison@nokia.com>2009-07-24 05:39:59 (GMT)
committerWarwick Allison <warwick.allison@nokia.com>2009-07-24 05:39:59 (GMT)
commitd150ada7c985f066e9c59571ce3db2bc6494ca08 (patch)
tree2cf7f9b60e433256c354e4777bef986b915b70b3 /src/declarative
parent2210fce7beb9be8f1acbdff5129eed91a59f7be7 (diff)
downloadQt-d150ada7c985f066e9c59571ce3db2bc6494ca08.zip
Qt-d150ada7c985f066e9c59571ce3db2bc6494ca08.tar.gz
Qt-d150ada7c985f066e9c59571ce3db2bc6494ca08.tar.bz2
doc
Diffstat (limited to 'src/declarative')
-rw-r--r--src/declarative/qml/qmldom.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/declarative/qml/qmldom.cpp b/src/declarative/qml/qmldom.cpp
index 5082fda..73332fe 100644
--- a/src/declarative/qml/qmldom.cpp
+++ b/src/declarative/qml/qmldom.cpp
@@ -93,10 +93,10 @@ QmlDomDocumentPrivate::~QmlDomDocumentPrivate()
file.open(QIODevice::ReadOnly);
QByteArray xmlData = file.readAll();
- QDomDocument document;
- document.load(xmlData);
+ QmlDomDocument document;
+ document.load(qmlengine, xmlData);
- QDomObject rootObject = document.rootObject();
+ QmlDomObject rootObject = document.rootObject();
qDebug() << rootObject.objectType();
foreach(QmlDomProperty property, rootObject.properties())
qDebug() << property.propertyName();