diff options
author | Eirik Aavitsland <eirik.aavitsland@qt.io> | 2024-03-19 11:12:01 +0100 |
---|---|---|
committer | Eirik Aavitsland <eirik.aavitsland@qt.io> | 2024-03-22 18:11:40 +0100 |
commit | 8a5296453ebcbde6ea570b3f05b9b4adfbfd2855 (patch) | |
tree | 3370347621f1deb9a8e507c1060b3a41abb7d1e6 /tests/manual | |
parent | ab88fcd990523070f2c018f4599b9bfa023d3b95 (diff) |
Fix fillrule setting in QuickShapes manual test
The QuadShape, CubicShape and Small Polygon test shapes all had
hardcoded the fillrule, overriding the setting in the ui, which hence
was nonfunctional.
Change-Id: I51d84cf38bb15a41f32bc035c67b280ddfd24967
Reviewed-by: Paul Olav Tvete <paul.tvete@qt.io>
Diffstat (limited to 'tests/manual')
-rw-r--r-- | tests/manual/painterpathquickshape/CubicShape.qml | 1 | ||||
-rw-r--r-- | tests/manual/painterpathquickshape/SimpleShape.qml | 1 | ||||
-rw-r--r-- | tests/manual/painterpathquickshape/SmallPolygon.qml | 2 |
3 files changed, 0 insertions, 4 deletions
diff --git a/tests/manual/painterpathquickshape/CubicShape.qml b/tests/manual/painterpathquickshape/CubicShape.qml index 8111a91b5a..2491833f0f 100644 --- a/tests/manual/painterpathquickshape/CubicShape.qml +++ b/tests/manual/painterpathquickshape/CubicShape.qml @@ -5,7 +5,6 @@ import QtQuick import QtQuick.Shapes ControlledShape { - fillRule: ShapePath.OddEvenFill delegate: [ PathMove { x: start.cx; y: start.cy}, PathCubic { x: end.cx; y: end.cy; diff --git a/tests/manual/painterpathquickshape/SimpleShape.qml b/tests/manual/painterpathquickshape/SimpleShape.qml index da683deabb..b5d2226cb4 100644 --- a/tests/manual/painterpathquickshape/SimpleShape.qml +++ b/tests/manual/painterpathquickshape/SimpleShape.qml @@ -5,7 +5,6 @@ import QtQuick import QtQuick.Shapes ControlledShape { - fillRule: ShapePath.OddEvenFill delegate: [ // A triangle PathPolyline { diff --git a/tests/manual/painterpathquickshape/SmallPolygon.qml b/tests/manual/painterpathquickshape/SmallPolygon.qml index 06809cb134..f298960358 100644 --- a/tests/manual/painterpathquickshape/SmallPolygon.qml +++ b/tests/manual/painterpathquickshape/SmallPolygon.qml @@ -5,8 +5,6 @@ import QtQuick import QtQuick.Shapes ControlledShape { - fillRule: ShapePath.OddEvenFill - delegate: [ PathPolyline { path: [ point1.pt, |