Flickable now emits contentX/YChanged after the content is updated
authorMartin Jones <martin.jones@nokia.com>
Fri, 6 Jan 2012 06:14:53 +0000 (16:14 +1000)
committerQt by Nokia <qt-info@nokia.com>
Fri, 6 Jan 2012 07:27:24 +0000 (08:27 +0100)
commit3582101128dc7de7c899712935fcd56d90a3865e
tree34cdab25c8a927aa72322c66af1723a8c583e261
parent8e0ea24115bcc9bf88ff09572feb05493ebc35c4
Flickable now emits contentX/YChanged after the content is updated

Currently view content is not created until after onContentYChanged
handlers are called, which is not what the user would expect
This change moves the contentX/YChanged emission to
after the content update and also removes the need for a
connect() in Flickable init.

Task-number: QTBUG-23462
Change-Id: I11e87a78160033e3ec6a9e7de733474f8345050d
Reviewed-by: Bea Lam <bea.lam@nokia.com>
src/quick/items/qquickflickable.cpp
src/quick/items/qquickflickable_p.h