Fix QQuickVisualDataModel test failure.
authorAndrew den Exter <andrew.den-exter@nokia.com>
Fri, 2 Dec 2011 05:56:45 +0000 (15:56 +1000)
committerQt by Nokia <qt-info@nokia.com>
Mon, 5 Dec 2011 09:13:00 +0000 (10:13 +0100)
commit42ba473b3a1af1d6e0579dfc0ddb6c571c76d6c0
tree046ced3d93e3e9b091e6bc1feeae9d1855df4cd1
parent18d1e8c0482f70cd7b978169e7b8f7ab137bfc03
Fix QQuickVisualDataModel test failure.

When connecting the source object's notify signals to the proxy object's
the objectName property wasn't being skipped, this didn't matter much
before because the object name property didn't have a notify signal
and so was skipped anyway.  Adding a notify signal resulted in all the
signal connections being off by one.

The object list proxy meta-object also shouldn't assume that QObject
has only and only ever will have one property.

Change-Id: I238e05153446cbfdceea643963e3a26f665e41a1
Reviewed-by: Martin Jones <martin.jones@nokia.com>
src/quick/items/qquickvisualadaptormodel.cpp