diff options
author | Aaron Kennedy <aaron.kennedy@nokia.com> | 2009-05-05 05:27:04 (GMT) |
---|---|---|
committer | Aaron Kennedy <aaron.kennedy@nokia.com> | 2009-07-31 02:00:45 (GMT) |
commit | 8fca9052e72d1dc983443c3a8065f804bebf77e7 (patch) | |
tree | 8e33baec52d95c829e6ff5eadb4bb5e386eb5dd2 /src/script/qscriptextqobject.cpp | |
parent | 048ac3827d103bfd08b4675c3ec783e10902f381 (diff) | |
download | Qt-8fca9052e72d1dc983443c3a8065f804bebf77e7.zip Qt-8fca9052e72d1dc983443c3a8065f804bebf77e7.tar.gz Qt-8fca9052e72d1dc983443c3a8065f804bebf77e7.tar.bz2 |
QtScript must respect dynamic metaobject's when installed
(cherry picked from commit f39ccc5ed802ee8461122b8b067c8faa9aae8f8a)
Reviewed-by: Roberto Raggi
Diffstat (limited to 'src/script/qscriptextqobject.cpp')
-rw-r--r-- | src/script/qscriptextqobject.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/script/qscriptextqobject.cpp b/src/script/qscriptextqobject.cpp index 88fd007..3ea5963 100644 --- a/src/script/qscriptextqobject.cpp +++ b/src/script/qscriptextqobject.cpp @@ -736,7 +736,7 @@ static void callQtMethod(QScriptContextPrivate *context, QMetaMethod::MethodType meta->static_metacall(QMetaObject::CreateInstance, chosenIndex, params); } else { Q_ASSERT(thisQObject != 0); - thisQObject->qt_metacall(QMetaObject::InvokeMetaMethod, chosenIndex, params); + QMetaObject::metacall(thisQObject, QMetaObject::InvokeMetaMethod, chosenIndex, params); } if (scriptable) |