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 292318c..678f3dd 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); |