diff --git a/src/quickshapes/qquickshapegenericrenderer_p.h b/src/quickshapes/qquickshapegenericrenderer_p.h index 1455c02424..4a4faf0e43 100644 --- a/src/quickshapes/qquickshapegenericrenderer_p.h +++ b/src/quickshapes/qquickshapegenericrenderer_p.h @@ -97,8 +97,8 @@ private: struct ShapePathData { float strokeWidth; QPen pen; - Color4ub strokeColor; - Color4ub fillColor; + Color4ub strokeColor = { uchar(0), uchar(0), uchar(0), uchar(0) }; + Color4ub fillColor = { uchar(0), uchar(0), uchar(0), uchar(0) }; Qt::FillRule fillRule; QPainterPath path; FillGradientType fillGradientActive;