From a7c65a476a6ef308bee77a3d334148d92eb53992 Mon Sep 17 00:00:00 2001 From: Ivailo Monev Date: Thu, 16 Jun 2022 08:11:12 +0300 Subject: [PATCH] remove unused QPolygon object in QWindowsStyle::drawPrimitive() Signed-off-by: Ivailo Monev --- src/gui/styles/qwindowsstyle.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/src/gui/styles/qwindowsstyle.cpp b/src/gui/styles/qwindowsstyle.cpp index 9615f79c5..06b3eaf8c 100644 --- a/src/gui/styles/qwindowsstyle.cpp +++ b/src/gui/styles/qwindowsstyle.cpp @@ -790,7 +790,6 @@ void QWindowsStyle::drawPrimitive(PrimitiveElement pe, const QStyleOption *opt, bool down = opt->state & State_Sunken; bool enabled = opt->state & State_Enabled; bool on = opt->state & State_On; - QPolygon a; //center when rect is larger than indicator size int xOffset = 0;