Commit f39c22ec authored by Martin Jones's avatar Martin Jones Committed by Qt by Nokia
Browse files

Allow resetting a Rectangle gradient.


If a gradient and a color are set on a rectangle, the gradient is used.
This means that if you wish to override the gradient on a component with
a color, you have to unset the gradient.

Also remove the unused QQuickGradient::gradient() method.

Task-number: QTBUG-23238
Change-Id: Ibd43cfe1bd4b867e4f6103f1d0dc0ed6176ab5c1
Reviewed-by: default avatarMichael Brasser <michael.brasser@nokia.com>
parent e1b3ad7c
Branches
Tags
No related merge requests found
Showing with 128 additions and 22 deletions
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