Commit b7a1d6e0 authored by Gunnar Sletta's avatar Gunnar Sletta Committed by The Qt Project
Browse files

Let rounded rectangles be antialiased by default


This was the behavior in Qt Quick 1.1, so we should keep it

Change-Id: I5c6968225e20b06f550c52741fff571088b0100b
Reviewed-by: default avatarSamuel Rødal <samuel.rodal@digia.com>
parent aef7dad9
No related merge requests found
Showing with 1 addition and 1 deletion
...@@ -475,7 +475,7 @@ QSGNode *QQuickRectangle::updatePaintNode(QSGNode *oldNode, UpdatePaintNodeData ...@@ -475,7 +475,7 @@ QSGNode *QQuickRectangle::updatePaintNode(QSGNode *oldNode, UpdatePaintNodeData
} }
rectangle->setRadius(d->radius); rectangle->setRadius(d->radius);
rectangle->setAntialiasing(d->antialiasing); rectangle->setAntialiasing(d->antialiasing || d->radius > 0);
QGradientStops stops; QGradientStops stops;
if (d->gradient) { if (d->gradient) {
......
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