summaryrefslogtreecommitdiff
path: root/addon/doxywizard/wizard.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'addon/doxywizard/wizard.cpp')
-rw-r--r--addon/doxywizard/wizard.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/addon/doxywizard/wizard.cpp b/addon/doxywizard/wizard.cpp
index 2233379..c3c1b57 100644
--- a/addon/doxywizard/wizard.cpp
+++ b/addon/doxywizard/wizard.cpp
@@ -369,8 +369,8 @@ void ColorPicker::paintEvent(QPaintEvent*)
p.drawPixmap(1, coff, *m_pix);
const QPalette &g = palette();
qDrawShadePanel(&p, r, g, true);
- p.setPen(g.foreground().color());
- p.setBrush(g.foreground());
+ p.setPen(g.windowText().color());
+ p.setBrush(g.windowText());
QPolygon a;
int y = m_mode==Hue ? hue2y(m_hue) :
m_mode==Saturation ? sat2y(m_sat) :