fix canvas bug
authorCharles Yin <charles.yin@nokia.com>
Tue, 11 Oct 2011 04:28:28 +0000 (14:28 +1000)
committerQt by Nokia <qt-info@nokia.com>
Tue, 11 Oct 2011 04:42:53 +0000 (06:42 +0200)
commit60d07fc96b60a709396bf983dc79e84f786c1ad0
tree4bf08f3cddf90d3ac6693f2496140261558d8271
parentf8aab7293ef223a388b28c7805076c932fecded1
fix canvas bug

do painting only after component loaded and paint after geometry size initialized

Task-number:QTBUG-21920
Task-number:QTBUG-21918
Change-Id: Ibbc12d416dc694eff35f16c03cbc3c16e333645b
Reviewed-on: http://codereview.qt-project.org/6387
Sanity-Review: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Charles Yin <charles.yin@nokia.com>
src/declarative/items/context2d/qsgcanvasitem.cpp
src/declarative/items/context2d/qsgcontext2dtexture.cpp
tests/auto/declarative/qsgcanvasitem/data/tst_canvas.qml