summaryrefslogtreecommitdiffstats
path: root/utils/themeeditor/graphics/rbprogressbar.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'utils/themeeditor/graphics/rbprogressbar.cpp')
-rw-r--r--utils/themeeditor/graphics/rbprogressbar.cpp2
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,
const QStyleOptionGraphicsItem *option,
QWidget *widget)
{
+ renderSize.setHeight(size.height());
+
if(bitmap && !bitmap->isNull())
{
painter->drawPixmap(renderSize, *bitmap, renderSize);