Commit 759f104d authored by Ian Wadham's avatar Ian Wadham
Browse files

BUG: 334261 Use contrasting foreground color for pen.

parent 2b0384a8
...@@ -121,6 +121,7 @@ void ProgressBox::paintEvent(QPaintEvent*) ...@@ -121,6 +121,7 @@ void ProgressBox::paintEvent(QPaintEvent*)
} }
paint.setBrush(view.background(KColorScheme::ActiveBackground)); paint.setBrush(view.background(KColorScheme::ActiveBackground));
paint.setPen(view.foreground().color());
paint.translate(0.5, 0.5); paint.translate(0.5, 0.5);
paint.drawRoundedRect(95-m_textWidth/2, 85, m_textWidth+10, m_textHeight+10, 5, 5); paint.drawRoundedRect(95-m_textWidth/2, 85, m_textWidth+10, m_textHeight+10, 5, 5);
paint.translate(-0.5, -0.5); paint.translate(-0.5, -0.5);
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment