Fix embedding images in text elements
authorEskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@digia.com>
Tue, 19 Feb 2013 09:26:44 +0000 (10:26 +0100)
committerThe Qt Project <gerrit-noreply@qt-project.org>
Tue, 19 Feb 2013 10:24:39 +0000 (11:24 +0100)
commit36ef4052e0018c396b42cdef950e80e2efce3778
tree1434ad5d28660a2e2ad2ee4bc0cbd59798bf804e
parent06378ac23a1f75b30da08cfa74b3e774aaba9298
Fix embedding images in text elements

It seems that the the inner target rect has either been added
recently or its default has been changed to something invalid,
because we need to set it to the same as targetRect for the
image to show up at all.

Task-number: QTBUG-29560
Change-Id: I0fe6b7c5ab07afc780b8ea33a7ccc210861e0821
Reviewed-by: Gunnar Sletta <gunnar.sletta@digia.com>
src/quick/items/qquicktextnode.cpp