From: Ivailo Monev Date: Sat, 9 Jan 2021 13:48:47 +0000 (+0200) Subject: remove unused definition in QMotifStyle::drawPrimitive() X-Git-Tag: 4.12.0~2780 X-Git-Url: http://git.osdn.net/view?a=commitdiff_plain;h=e2e0b4f97401e9769c0d80bfd5e5684cdda1efa8;p=kde%2FKatie.git remove unused definition in QMotifStyle::drawPrimitive() Signed-off-by: Ivailo Monev --- 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