From 30fccd771c78a13c25e4fe48583bfb4da4020e74 Mon Sep 17 00:00:00 2001 From: Ivailo Monev Date: Mon, 8 Feb 2021 20:06:15 +0200 Subject: [PATCH] replace construct with enum in null QBrush initializer Signed-off-by: Ivailo Monev --- src/gui/painting/qbrush.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gui/painting/qbrush.cpp b/src/gui/painting/qbrush.cpp index e64bc2918..2655f38e0 100644 --- a/src/gui/painting/qbrush.cpp +++ b/src/gui/painting/qbrush.cpp @@ -297,7 +297,7 @@ public: Q_GLOBAL_STATIC_WITH_INITIALIZER(QBrushData, nullBrushInstance, { x->ref = 1; - x->style = Qt::BrushStyle(0); + x->style = Qt::NoBrush; x->color = Qt::black; })