Remove warning messages for canvasitem tests
authorCharles Yin <charles.yin@nokia.com>
Wed, 7 Dec 2011 03:04:20 +0000 (13:04 +1000)
committerQt by Nokia <qt-info@nokia.com>
Wed, 7 Dec 2011 03:21:06 +0000 (04:21 +0100)
commit65b2bcf4e6317d29294a389531e8d63d33f2a5b8
tree87b6d2b95b69504d65b0882c995ee2861bc0142c
parent2b0d21a27763f065ea91632f00019c6629edd7d1
Remove warning messages for canvasitem tests

1) The null image warnings can be safely ignored as the images are
   expected to be null
2) Check the isLoading() before calling QDeclarativePixmap::connectFinished()

Change-Id: I58339f40495fb62c73b217aca35cdd7effd8c917
Reviewed-by: Martin Jones <martin.jones@nokia.com>
src/quick/items/context2d/qquickcanvasitem.cpp
tests/auto/qtquick2/qquickcanvasitem/data/tst_drawimage.qml