Commit 7c6a13b3 authored by Marco Bubke's avatar Marco Bubke

QmlDesigner.NodeInstances: Fix painting

parent 7e5fd30d
......@@ -199,7 +199,7 @@ QImage GraphicsObjectNodeInstance::renderImage() const
QRectF boundingRect = graphicsObject()->boundingRect();
QSize boundingSize = boundingRect.size().toSize();
QImage image(boundingSize, QImage::Format_ARGB32);
QImage image(boundingSize, QImage::Format_ARGB32_Premultiplied);
if (image.isNull())
return image;
......
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