Commit 48e09078 authored by Hugo Pereira Da Costa's avatar Hugo Pereira Da Costa
Browse files

fix the rect passed to kcapacitybar paint method.

CCBUG: 290879
REVIEW: 103669
parent a69556c2
......@@ -370,7 +370,8 @@ QSize KCapacityBar::minimumSizeHint() const
void KCapacityBar::paintEvent(QPaintEvent *event)
QPainter p(this);
drawCapacityBar(&p, event->rect());
drawCapacityBar(&p, contentsRect());
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment