summaryrefslogtreecommitdiffstats
path: root/demos/boxes/scene.cpp
diff options
context:
space:
mode:
authorOlivier Goffart <ogoffart@trolltech.com>2009-07-29 07:51:07 (GMT)
committerOlivier Goffart <ogoffart@trolltech.com>2009-07-29 09:16:18 (GMT)
commit538153994cacc4613aef1eb8ef77e501be7f5a88 (patch)
tree5b1ae7732aa02e50d85a9f10280d3335f98e673b /demos/boxes/scene.cpp
parent9e4aa947217d92c51d09a6adaddaf88829d42f89 (diff)
downloadQt-538153994cacc4613aef1eb8ef77e501be7f5a88.zip
Qt-538153994cacc4613aef1eb8ef77e501be7f5a88.tar.gz
Qt-538153994cacc4613aef1eb8ef77e501be7f5a88.tar.bz2
Enter a scope when enterning a native function.
so native function that would call engine->evaluate("var b = 'foo'); would not change the global object. The change in qscriptengine.cpp makes sure that the correct scope is used for the execution of QScriptEngine::evaluate. The changes in qscriptfunction.cpp push a new scope for native function calls. We might want to move that into QScriptContext later Reviewed-by: Kent Hansen
Diffstat (limited to 'demos/boxes/scene.cpp')
0 files changed, 0 insertions, 0 deletions