Pass the right signal index in visualadaptormodel proxy meta-object
authorKent Hansen <kent.hansen@nokia.com>
Mon, 4 Jun 2012 14:10:34 +0000 (16:10 +0200)
committerQt by Nokia <qt-info@nokia.com>
Fri, 22 Jun 2012 08:04:44 +0000 (10:04 +0200)
commit15fd9d0c230680255b523b0409c0eb946d7a785f
tree245fad57aabf9ea604f2e809a8ac9873d6c22295
parent836bade8766f7de2104b1a91b10cbc2a08d12c03
Pass the right signal index in visualadaptormodel proxy meta-object

For QMetaObject::activate(), the index must be relative to the
class's own signals (excluding non-signal methods).
For QMetaObjectBuilder, the notifier index must be relative to the
class's own methods.

Change-Id: I22f55d1fc55d56c997135dc78f51b710b37bb01a
Reviewed-by: Andrew den Exter <andrew.den-exter@nokia.com>
src/quick/items/qquickvisualadaptormodel.cpp
tests/auto/quick/qquickvisualdatamodel/data/objectlist.qml
tests/auto/quick/qquickvisualdatamodel/tst_qquickvisualdatamodel.cpp