intersects the clip rect, no more painiting outside scrollwidgets

svn path=/trunk/KDE/kdelibs/; revision=1051054
This commit is contained in:
Marco Martin 2009-11-18 18:32:08 +00:00
parent 939c85aafb
commit f6c7a9b177

View File

@ -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")) {