Fix default property preventing signals from being emitted.
authorGlenn Watson <glenn.watson@nokia.com>
Mon, 21 Nov 2011 23:13:21 +0000 (09:13 +1000)
committerQt by Nokia <qt-info@nokia.com>
Tue, 22 Nov 2011 02:31:11 +0000 (03:31 +0100)
commit0bf08af2b945f10f44561ffa0abd6f89b093b376
treef7cb7e6cd3061eaf3878bf8787708ed03428c07e
parent3ef0ce6b794ed58d26ec6355cc13fd00f66c5176
Fix default property preventing signals from being emitted.

Change the way connectAlias works so that even if the target
for the connection is not available immediately, anything that
is bound to it is notified when the target is changed.

(Fix is authored by Aaron).

Task-number: QTBUG-21580
Change-Id: Ida23c0e620069c50b123c71b5078929d4c7ec4e4
Reviewed-by: Martin Jones <martin.jones@nokia.com>
src/declarative/qml/ftw/ftw.pri
src/declarative/qml/ftw/qflagpointer_p.h [new file with mode: 0644]
src/declarative/qml/qdeclarativecontext_p.h
src/declarative/qml/qdeclarativevmemetaobject.cpp
src/declarative/qml/qdeclarativevmemetaobject_p.h
tests/auto/declarative/qdeclarativeecmascript/data/qtbug_21580.qml [new file with mode: 0644]
tests/auto/declarative/qdeclarativeecmascript/tst_qdeclarativeecmascript.cpp