return the proper shape
svn path=/trunk/KDE/kdelibs/; revision=1039146
This commit is contained in:
parent
a45a20c32c
commit
2f7ba10bfc
@ -138,7 +138,7 @@ QPainterPath AppletHandle::shape() const
|
||||
//when the containment changes the applet is reset to 0
|
||||
if (m_applet) {
|
||||
QPainterPath path = PaintUtils::roundedRectangle(m_decorationRect, 10);
|
||||
return path.united(m_applet->mapToParent(m_applet->shape()));
|
||||
return path.united(m_applet->shape());
|
||||
} else {
|
||||
return QGraphicsItem::shape();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user