summaryrefslogtreecommitdiff
path: root/src/plugins/coreplugin/progressmanager
diff options
context:
space:
mode:
authorAlessandro Portale <alessandro.portale@theqtcompany.com>2016-03-16 17:09:22 +0100
committerAlessandro Portale <alessandro.portale@theqtcompany.com>2016-03-17 08:05:08 +0000
commit5ab8440e2f121bb159c562b1149b5da58eed54e8 (patch)
tree6e802df5fc9e3bf3ecbd9f69bbd96ebbdccff930 /src/plugins/coreplugin/progressmanager
parentcdbf1f5ab33fa7a51c9e9dbc04871536922326dc (diff)
downloadqt-creator-5ab8440e2f121bb159c562b1149b5da58eed54e8.tar.gz
ProgressBar: Add a theme color for the background
The progress bar is important and custom enough to deserve its own theme color for the background. This change adds "ProgressBarBackgroundColor" and also sets it for dark.cretatortheme, so that it has a good contrast to ProgressBarColorNormal. Change-Id: I37731d7a918a862a28940e215c913f9ade8569ca Reviewed-by: Orgad Shaneh <orgads@gmail.com>
Diffstat (limited to 'src/plugins/coreplugin/progressmanager')
-rw-r--r--src/plugins/coreplugin/progressmanager/progressbar.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/coreplugin/progressmanager/progressbar.cpp b/src/plugins/coreplugin/progressmanager/progressbar.cpp
index 97c98bc495..f683b44a60 100644
--- a/src/plugins/coreplugin/progressmanager/progressbar.cpp
+++ b/src/plugins/coreplugin/progressmanager/progressbar.cpp
@@ -300,7 +300,7 @@ void ProgressBar::paintEvent(QPaintEvent *)
//draw the progress bar
if (creatorTheme()->widgetStyle() == Theme::StyleFlat) {
p.fillRect(rect.adjusted(2, 2, -2, -2),
- creatorTheme()->color(Theme::FancyToolButtonHoverColor));
+ creatorTheme()->color(Theme::ProgressBarBackgroundColor));
p.fillRect(inner, c);
} else {
const static QImage bar(StyleHelper::dpiSpecificImageFile(