aboutsummaryrefslogtreecommitdiffstats
path: root/examples/quick/shapes/content/item12.qml
diff options
context:
space:
mode:
Diffstat (limited to 'examples/quick/shapes/content/item12.qml')
-rw-r--r--examples/quick/shapes/content/item12.qml6
1 files changed, 3 insertions, 3 deletions
diff --git a/examples/quick/shapes/content/item12.qml b/examples/quick/shapes/content/item12.qml
index d4d7816e44..8bdd1bfe50 100644
--- a/examples/quick/shapes/content/item12.qml
+++ b/examples/quick/shapes/content/item12.qml
@@ -65,11 +65,11 @@ Rectangle {
ShapePath {
strokeColor: "transparent"
- fillGradient: ShapeLinearGradient {
+ fillGradient: LinearGradient {
id: grad
y1: 50; y2: 150
- ShapeGradientStop { position: 0; color: "black" }
- ShapeGradientStop { position: 1; color: "red" }
+ GradientStop { position: 0; color: "black" }
+ GradientStop { position: 1; color: "red" }
}
startX: 10; startY: 10