Remove hardcoded assumptions about methods in QObject
authorChris Adams <christopher.adams@nokia.com>
Tue, 20 Dec 2011 05:33:47 +0000 (15:33 +1000)
committerQt by Nokia <qt-info@nokia.com>
Tue, 20 Dec 2011 06:34:58 +0000 (07:34 +0100)
commit97f6dbcd27fa0a2f72d3a58b0bd9aea1b930e464
tree1c4d066b595e318b646d5974a46e69f53cbac29e
parentb26bda8654e9ac4c8ede56adba9d597f24f1ecac
Remove hardcoded assumptions about methods in QObject

This commit ensures that the number of methods available from the
QObject::staticMetaObject is looked up rather than hardcoded to
a value in the QDeclarativePropertyCache.

Task-number: QTBUG-22985
Change-Id: If61c02f0d32066cddaeac2d8143c58db97acb609
Reviewed-by: Alan Alpert <alan.alpert@nokia.com>
src/declarative/qml/qdeclarativepropertycache.cpp