Fix BorderImage drawing when no borders are specified.
authorMartin Jones <martin.jones@nokia.com>
Mon, 24 Oct 2011 07:00:34 +0000 (17:00 +1000)
committerQt by Nokia <qt-info@nokia.com>
Mon, 24 Oct 2011 07:18:27 +0000 (09:18 +0200)
commit83529b68eb8e4d1959b7cc85868ff6ac5ef8d58d
tree8708b1096fb31614548581f7f5905725060574f6
parent0307f5a7b271eea75e5d9c12c65caaf578a3384b
Fix BorderImage drawing when no borders are specified.

When no borders were specified the innerRect was calculated
based on the item size rather than the image size.

Change-Id: I764caca22aa8a0c6ed3babaad38a93764357cd00
Reviewed-by: Yann Bodson <yann.bodson@nokia.com>
src/declarative/items/qquickborderimage.cpp