summaryrefslogtreecommitdiffstats
path: root/src/script/api/qscriptengine.cpp
diff options
context:
space:
mode:
authorKent Hansen <kent.hansen@nokia.com>2010-03-15 07:32:38 (GMT)
committerKent Hansen <kent.hansen@nokia.com>2010-03-15 07:32:38 (GMT)
commitccf34d2a9f2d3aa2341de7babab5188b359861a1 (patch)
tree7d56c03c0ef372ab44673575e8ea4b603a820a86 /src/script/api/qscriptengine.cpp
parent3f8f04af41297b85afb68356d17d3c612f8388e2 (diff)
downloadQt-ccf34d2a9f2d3aa2341de7babab5188b359861a1.zip
Qt-ccf34d2a9f2d3aa2341de7babab5188b359861a1.tar.gz
Qt-ccf34d2a9f2d3aa2341de7babab5188b359861a1.tar.bz2
Add missing QtScript API shims
Need shims wherever a JSC::Identifier can be created/destroyed.
Diffstat (limited to 'src/script/api/qscriptengine.cpp')
-rw-r--r--src/script/api/qscriptengine.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/script/api/qscriptengine.cpp b/src/script/api/qscriptengine.cpp
index bef7a3e..294c3a0 100644
--- a/src/script/api/qscriptengine.cpp
+++ b/src/script/api/qscriptengine.cpp
@@ -4063,6 +4063,7 @@ QScriptEngineAgent *QScriptEngine::agent() const
QScriptString QScriptEngine::toStringHandle(const QString &str)
{
Q_D(QScriptEngine);
+ QScript::APIShim shim(d);
return d->toStringHandle(JSC::Identifier(d->currentFrame, str));
}