Commit abc3a9b7 authored by Marco Bubke's avatar Marco Bubke

QmlDesigner.NodeInstances: Provide bounding rectangle for render image

Change-Id: If1d8e51109eec5e281a1cecdaff7c081a5e6d95d
Reviewed-on: http://codereview.qt.nokia.com/3975Reviewed-by: default avatarThomas Hartmann <Thomas.Hartmann@nokia.com>
Reviewed-by: default avatarQt Sanity Bot <qt_sanity_bot@ovi.com>
parent bb0900d6
......@@ -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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment