QmlJS: Fix crash.

Change-Id: Ieacc7896eaeb478c6bd79a0865280f0cb595101e
Reviewed-on: http://codereview.qt-project.org/5619
Reviewed-by: Fawzi Mohamed <fawzi.mohamed@nokia.com>
This commit is contained in:
Christian Kamm
2011-09-27 13:49:20 +02:00
parent 0949adef1c
commit 3bd56fe9f1

View File

@@ -215,7 +215,7 @@ void QmlObjectValue::processMembers(MemberProcessor *processor) const
if (_metaObjectRevision < method.revision())
continue;
QString methodName;
const QString &methodName = _metaObject->method(index).methodName();
const Value *signature = signatures->at(index);
if (method.methodType() == FakeMetaMethod::Slot && method.access() == FakeMetaMethod::Public) {