Commit 7cff3f95 authored by Eike Ziller's avatar Eike Ziller
Browse files

Fix progress bar rendering



Fixes the border image drawing, which probably is only visible when
making the progress bars longer.

Change-Id: Ia4692bcb4a4b86b7ca610c039046367cc5d2bdfe
Reviewed-by: default avatarEike Ziller <eike.ziller@digia.com>
parent 01d4fe85
......@@ -231,7 +231,7 @@ void ProgressBar::paintEvent(QPaintEvent *)
// draw outer rect
QRect rect(INDENT - 1, h+6, size().width()-2*INDENT + 1, m_progressHeight-1);
p.setPen(Utils::StyleHelper::panelTextColor());
Utils::StyleHelper::drawCornerImage(bar, &p, rect, 2, 2, 2, 2);
Utils::StyleHelper::drawCornerImage(bar, &p, rect, 4, 2, 3, 2);
// draw inner rect
QColor c = Utils::StyleHelper::panelTextColor();
......
Markdown is supported
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