summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorAaron Kennedy <aaron.kennedy@nokia.com>2009-05-05 05:27:04 (GMT)
committerAaron Kennedy <aaron.kennedy@nokia.com>2009-05-05 05:27:23 (GMT)
commitf39ccc5ed802ee8461122b8b067c8faa9aae8f8a (patch)
tree95db4f9c4f7cb876289d884a2b171ddbab5a8a9e /src
parentc248a3c68fdce3387bec61e3b19bdf766ae93ed0 (diff)
downloadQt-f39ccc5ed802ee8461122b8b067c8faa9aae8f8a.zip
Qt-f39ccc5ed802ee8461122b8b067c8faa9aae8f8a.tar.gz
Qt-f39ccc5ed802ee8461122b8b067c8faa9aae8f8a.tar.bz2
QtScript must respect dynamic metaobject's when installed
Diffstat (limited to 'src')
-rw-r--r--src/script/qscriptextqobject.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/script/qscriptextqobject.cpp b/src/script/qscriptextqobject.cpp
index 4522807..802653a 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)