just toRect will suffice
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=856498
This commit is contained in:
parent
3c7c59d9f8
commit
2963de33e6
@ -895,7 +895,7 @@ void Applet::paint(QPainter *painter, const QStyleOptionGraphicsItem *option, QW
|
||||
contentsRect = option->exposedRect.intersected(contentsRect);
|
||||
}
|
||||
|
||||
QRect exposed = contentsRect.toAlignedRect();
|
||||
QRect exposed = contentsRect.toRect();
|
||||
|
||||
if (widget && isContainment()) {
|
||||
// note that the widget we get is actually the viewport of the view, not the view itself
|
||||
|
Loading…
x
Reference in New Issue
Block a user