diff options
Diffstat (limited to 'utils/themeeditor/graphics/rbprogressbar.cpp')
-rw-r--r-- | utils/themeeditor/graphics/rbprogressbar.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/utils/themeeditor/graphics/rbprogressbar.cpp b/utils/themeeditor/graphics/rbprogressbar.cpp index 292318cf60..678f3dd68b 100644 --- a/utils/themeeditor/graphics/rbprogressbar.cpp +++ b/utils/themeeditor/graphics/rbprogressbar.cpp | |||
@@ -107,6 +107,8 @@ void RBProgressBar::paint(QPainter *painter, | |||
107 | const QStyleOptionGraphicsItem *option, | 107 | const QStyleOptionGraphicsItem *option, |
108 | QWidget *widget) | 108 | QWidget *widget) |
109 | { | 109 | { |
110 | renderSize.setHeight(size.height()); | ||
111 | |||
110 | if(bitmap && !bitmap->isNull()) | 112 | if(bitmap && !bitmap->isNull()) |
111 | { | 113 | { |
112 | painter->drawPixmap(renderSize, *bitmap, renderSize); | 114 | painter->drawPixmap(renderSize, *bitmap, renderSize); |