forked from qt-creator/qt-creator
		
	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:
		@@ -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);
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user