OSDN Git Service
(root)
/
kde
/
Katie.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3735ea1
)
remove unused definition in QMotifStyle::drawPrimitive()
author
Ivailo Monev
<xakepa10@gmail.com>
Sat, 9 Jan 2021 13:48:47 +0000
(15:48 +0200)
committer
Ivailo Monev
<xakepa10@gmail.com>
Sat, 9 Jan 2021 13:48:47 +0000
(15:48 +0200)
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
src/gui/styles/qmotifstyle.cpp
patch
|
blob
|
history
diff --git
a/src/gui/styles/qmotifstyle.cpp
b/src/gui/styles/qmotifstyle.cpp
index
4083852
..
a177fd3
100644
(file)
--- 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