From 7cff3f952cba5d4a17e4f67a38e395a1f628f9f7 Mon Sep 17 00:00:00 2001 From: Eike Ziller Date: Mon, 25 Mar 2013 14:15:34 +0100 Subject: [PATCH] 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: Eike Ziller --- src/plugins/coreplugin/progressmanager/progressbar.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/plugins/coreplugin/progressmanager/progressbar.cpp b/src/plugins/coreplugin/progressmanager/progressbar.cpp index 156c6d217e8..19c6d70a935 100644 --- a/src/plugins/coreplugin/progressmanager/progressbar.cpp +++ b/src/plugins/coreplugin/progressmanager/progressbar.cpp @@ -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();