From a37c31405d4ca2a0d957ae8ee4434b74d3b12a46 Mon Sep 17 00:00:00 2001 From: Joni Poikelin Date: Wed, 4 Jan 2023 08:31:20 +0200 Subject: [PATCH] Fix a warning about extra semicolon in qstylepainter.h Change-Id: I104037ff58ade4b2ceffd73687355a5d237ab571 Reviewed-by: Marc Mutz (cherry picked from commit 7584871f4dab0cd8560603025217b7026568d81f) Reviewed-by: Qt Cherry-pick Bot --- src/widgets/styles/qstylepainter.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/widgets/styles/qstylepainter.h b/src/widgets/styles/qstylepainter.h index 65664b776e2..240ffbd137e 100644 --- a/src/widgets/styles/qstylepainter.h +++ b/src/widgets/styles/qstylepainter.h @@ -26,7 +26,7 @@ public: const bool res = QPainter::begin(pd); setRenderHint(QPainter::SmoothPixmapTransform); return res; - }; + } inline void drawPrimitive(QStyle::PrimitiveElement pe, const QStyleOption &opt); inline void drawControl(QStyle::ControlElement ce, const QStyleOption &opt); inline void drawComplexControl(QStyle::ComplexControl cc, const QStyleOptionComplex &opt);