Update SGNode after pixmap is invalidated
authorAlan Alpert <416365416c@gmail.com>
Sat, 17 Nov 2012 06:32:03 +0000 (22:32 -0800)
committerThe Qt Project <gerrit-noreply@qt-project.org>
Fri, 30 Nov 2012 17:46:35 +0000 (18:46 +0100)
commit6b54575fb08b31e3f4776ab91d51d541619a1af7
tree76e2c508acf2f06e9c93180514de867861ddf777
parent90f28df50a51743988f8e9b9c95cfb9608239cfd
Update SGNode after pixmap is invalidated

If the QDeclarativePixmap on a previously valid Image is cleared, and the
scenegraph updates before the networked pixmap request returns, the
scenegraph can crash when trying to paint a now invalid texture.

Task-number: QTBUG-27795
Change-Id: I83436f846a3e965b324ff6ebf057708fe8c3b82a
Reviewed-by: Alan Alpert <aalpert@rim.com>
src/quick/items/qquickimagebase.cpp