Commit 782e8f66 authored by Marco Bubke's avatar Marco Bubke
Browse files

QmlDesigner: Remove code which does nothing



Change-Id: Ia6edcd10c42f0ef71ed1237e45185e5fd8a4a66e
Reviewed-by: default avatarThomas Hartmann <Thomas.Hartmann@digia.com>
parent 7784baf5
......@@ -143,8 +143,6 @@ QImage GraphicalNodeInstance::renderImage() const
QImage renderImage = designerSupport()->renderImageForItem(quickItem(), renderBoundingRect, renderBoundingRect.size().toSize());
renderImage = renderImage.convertToFormat(QImage::Format_ARGB32_Premultiplied);
return renderImage;
}
......
......@@ -107,8 +107,6 @@ QImage Qt5PreviewNodeInstanceServer::renderPreviewImage()
QImage previewImage = rootNodeInstance().renderPreviewImage(previewImageSize);
previewImage = previewImage.convertToFormat(QImage::Format_ARGB32_Premultiplied);
return previewImage;
}
......
Supports Markdown
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