QmlDesigner.NodeInstances: Provide bounding rectangle for render image

Change-Id: If1d8e51109eec5e281a1cecdaff7c081a5e6d95d
Reviewed-on: http://codereview.qt.nokia.com/3975
Reviewed-by: Thomas Hartmann <Thomas.Hartmann@nokia.com>
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
This commit is contained in:
Marco Bubke
2011-08-31 14:30:22 +02:00
parent bb0900d668
commit abc3a9b716

View File

@@ -198,7 +198,7 @@ QImage SGItemNodeInstance::renderImage() const
{
updateDirtyNodeRecursive(sgItem());
QImage image = designerSupport()->renderImageForItem(sgItem());
QImage image = designerSupport()->renderImageForItem(sgItem(), boundingRectWithStepChilds(sgItem()));
image = image.convertToFormat(QImage::Format_ARGB32_Premultiplied);