aboutsummaryrefslogtreecommitdiffstats
path: root/src/quickshapes
diff options
context:
space:
mode:
authorEirik Aavitsland <eirik.aavitsland@qt.io>2021-05-12 13:12:23 +0200
committerEirik Aavitsland <eirik.aavitsland@qt.io>2021-05-12 16:27:06 +0000
commit4f751004a4960da049aff4a1ce19b9ad9c009754 (patch)
treecff61cad6f473721fec6212d110ec6b132fd28db /src/quickshapes
parent45db3fae3ab44428c09800997230e6ad1865a05c (diff)
Fix shape gradient spread setting
Match the enum order/values of QGradient. Change-Id: I347d6bb782fb91358078b8b5aaf0a72e683a9905 Reviewed-by: Laszlo Agocs <laszlo.agocs@qt.io>
Diffstat (limited to 'src/quickshapes')
-rw-r--r--src/quickshapes/qquickshape_p.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/quickshapes/qquickshape_p.h b/src/quickshapes/qquickshape_p.h
index 85d6c3231b..8cf016d27d 100644
--- a/src/quickshapes/qquickshape_p.h
+++ b/src/quickshapes/qquickshape_p.h
@@ -84,8 +84,8 @@ class Q_QUICKSHAPES_PRIVATE_EXPORT QQuickShapeGradient : public QQuickGradient
public:
enum SpreadMode {
PadSpread,
- RepeatSpread,
- ReflectSpread
+ ReflectSpread,
+ RepeatSpread
};
Q_ENUM(SpreadMode)