summaryrefslogtreecommitdiffstats
path: root/src/declarative/qml/parser/javascriptengine_p.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/declarative/qml/parser/javascriptengine_p.cpp')
-rw-r--r--src/declarative/qml/parser/javascriptengine_p.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/declarative/qml/parser/javascriptengine_p.cpp b/src/declarative/qml/parser/javascriptengine_p.cpp
index 679202c..5debfd3 100644
--- a/src/declarative/qml/parser/javascriptengine_p.cpp
+++ b/src/declarative/qml/parser/javascriptengine_p.cpp
@@ -72,6 +72,7 @@ QString Ecma::RegExp::flagsToString(int flags)
NodePool::NodePool(const QString &fileName, Engine *engine)
: m_fileName(fileName), m_engine(engine)
{
+ m_engine->setNodePool(this);
}
NodePool::~NodePool()