From e2e0b4f97401e9769c0d80bfd5e5684cdda1efa8 Mon Sep 17 00:00:00 2001 From: Ivailo Monev Date: Sat, 9 Jan 2021 15:48:47 +0200 Subject: [PATCH] remove unused definition in QMotifStyle::drawPrimitive() Signed-off-by: Ivailo Monev --- src/gui/styles/qmotifstyle.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/gui/styles/qmotifstyle.cpp b/src/gui/styles/qmotifstyle.cpp index 4083852e3..a177fd3ad 100644 --- a/src/gui/styles/qmotifstyle.cpp +++ b/src/gui/styles/qmotifstyle.cpp @@ -656,7 +656,6 @@ void QMotifStyle::drawPrimitive(PrimitiveElement pe, const QStyleOption *opt, QP cols[4] = &opt->palette.mid().color(); } -#define CMID *cols[(colspec>>12) & 0xf] #define CLEFT *cols[(colspec>>8) & 0xf] #define CTOP *cols[(colspec>>4) & 0xf] #define CBOT *cols[colspec & 0xf] @@ -680,7 +679,6 @@ void QMotifStyle::drawPrimitive(PrimitiveElement pe, const QStyleOption *opt, QP p->setBrush(saveBrush); p->setPen(savePen); -#undef CMID #undef CLEFT #undef CTOP #undef CBOT -- 2.11.0