diff options
Diffstat (limited to 'src/declarative/qml/qmlxmlparser.cpp')
-rw-r--r-- | src/declarative/qml/qmlxmlparser.cpp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/declarative/qml/qmlxmlparser.cpp b/src/declarative/qml/qmlxmlparser.cpp index f001bda..0af9115 100644 --- a/src/declarative/qml/qmlxmlparser.cpp +++ b/src/declarative/qml/qmlxmlparser.cpp @@ -365,6 +365,13 @@ QmlParser::Object *QmlXmlParser::tree() const return root; } +QmlParser::Object *QmlXmlParser::takeTree() +{ + QmlParser::Object *r = root; + root = 0; + return r; +} + QString QmlXmlParser::errorDescription() const { return _error; |