summaryrefslogtreecommitdiffstats
path: root/src/gui/painting/qbrush.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/painting/qbrush.h')
-rw-r--r--src/gui/painting/qbrush.h9
1 files changed, 5 insertions, 4 deletions
diff --git a/src/gui/painting/qbrush.h b/src/gui/painting/qbrush.h
index 281789c838..3b7b949bde 100644
--- a/src/gui/painting/qbrush.h
+++ b/src/gui/painting/qbrush.h
@@ -400,7 +400,7 @@ public:
qreal x1, y1, x2, y2;
} linear;
struct {
- qreal cx, cy, fx, fy, cradius;
+ qreal cx, cy, fx, fy, cradius, fradius;
} radial;
struct {
qreal cx, cy, angle;
@@ -413,11 +413,12 @@ private:
friend class QConicalGradient;
friend class QBrush;
- Type m_type;
- Spread m_spread;
+ Type m_type = NoGradient;
+ Spread m_spread = PadSpread;
QGradientStops m_stops;
QGradientData m_data;
- void *dummy; // ### Qt 6: replace with actual content (CoordinateMode, InterpolationMode, ...)
+ CoordinateMode m_coordinateMode = LogicalMode;
+ InterpolationMode m_interpolationMode = ColorInterpolation;
};
inline void QGradient::setSpread(Spread aspread)