intersects the clip rect, no more painiting outside scrollwidgets
svn path=/trunk/KDE/kdelibs/; revision=1051054
This commit is contained in:
parent
939c85aafb
commit
f6c7a9b177
@ -501,7 +501,7 @@ void Meter::paint(QPainter *p,
|
||||
clipRect.setHeight(clipRect.height() * percentage);
|
||||
clipRect.moveBottom(bottom);
|
||||
}
|
||||
p->setClipRect(clipRect);
|
||||
p->setClipRect(clipRect, Qt::IntersectClip);
|
||||
|
||||
//be retrocompatible
|
||||
if (d->image->hasElement("bar-active-center")) {
|
||||
|
Loading…
Reference in New Issue
Block a user