Add sourceComponentChanged signal to Loader
authorYann Bodson <yann.bodson@nokia.com>
Fri, 29 Jul 2011 04:41:16 +0000 (14:41 +1000)
committerQt by Nokia <qt-info@nokia.com>
Fri, 29 Jul 2011 07:39:41 +0000 (09:39 +0200)
commitf1407da2cbaffcc1f175ec66ad389c3326efbe4a
tree0da4bf4bab76877663ed2834c7be06c6a83a6a94
parent9bfdaadd36cdb5254d808688aa8485e5a592937d
Add sourceComponentChanged signal to Loader

When setting the 'sourceComponent' property in Loader, we emit
a sourceChanged signal with source == "". We should emit
sourceComponentChanged instead.

Task-number: QTBUG-20628
Change-Id: If5f8f389b7dc214e729b366d82fe4d32827408ee
Reviewed-on: http://codereview.qt.nokia.com/2371
Reviewed-by: Martin Jones <martin.jones@nokia.com>
doc/src/declarative/whatsnew.qdoc
src/declarative/items/qsgloader.cpp
src/declarative/items/qsgloader_p.h
tests/auto/declarative/qsgloader/tst_qsgloader.cpp