summaryrefslogtreecommitdiffstats
path: root/src/declarative/qml/qmlscriptparser.cpp
diff options
context:
space:
mode:
authorKai Koehne <kai.koehne@nokia.com>2009-08-24 07:53:15 (GMT)
committerKai Koehne <kai.koehne@nokia.com>2009-08-24 07:58:09 (GMT)
commit40c12237b506bda373f5218c13e356de025c3716 (patch)
treea2a47b3af244374aaa4923ffa3541c72ed15f9c6 /src/declarative/qml/qmlscriptparser.cpp
parent494d2d9041b7277f6d22146593ff01c7c7f7021b (diff)
downloadQt-40c12237b506bda373f5218c13e356de025c3716.zip
Qt-40c12237b506bda373f5218c13e356de025c3716.tar.gz
Qt-40c12237b506bda373f5218c13e356de025c3716.tar.bz2
Expose type library information in QmlDomObject
New QmlDomObject::objectTypeMajorVersion && objectTypeMinorVersion accessors expose import library information.
Diffstat (limited to 'src/declarative/qml/qmlscriptparser.cpp')
-rw-r--r--src/declarative/qml/qmlscriptparser.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/declarative/qml/qmlscriptparser.cpp b/src/declarative/qml/qmlscriptparser.cpp
index 187f640..418eba7 100644
--- a/src/declarative/qml/qmlscriptparser.cpp
+++ b/src/declarative/qml/qmlscriptparser.cpp
@@ -831,6 +831,7 @@ void QmlScriptParser::clear()
root->release();
root = 0;
}
+ _imports.clear();
qDeleteAll(_refTypes);
_refTypes.clear();
_errors.clear();