Fix crash when trying to access a missing texture.
authorGlenn Watson <glenn.watson@nokia.com>
Mon, 31 Oct 2011 03:06:44 +0000 (13:06 +1000)
committerQt by Nokia <qt-info@nokia.com>
Tue, 1 Nov 2011 04:13:05 +0000 (05:13 +0100)
commit6013a61effd7517f4d659902391f89bee29ec3fe
tree76345090e805788c9ee82a04ce5b9578538352a2
parent64b8ce5f60d0595fcc511ca860066f2d946db8f3
Fix crash when trying to access a missing texture.

Check for valid texture pointer before calling member function
to determine if it is part of a texture atlas.

Change-Id: Ic36ad21f79c514aa92e4c37c467fb4e5d91b4e60
Reviewed-by: Martin Jones <martin.jones@nokia.com>
src/declarative/items/qquickimage.cpp