For posterity's sake
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=693708
This commit is contained in:
parent
c5b02c7a1b
commit
9bc4377eff
@ -50,7 +50,7 @@ Widget::Widget(QGraphicsItem *parent)
|
|||||||
d(new Private)
|
d(new Private)
|
||||||
{
|
{
|
||||||
setFlag(QGraphicsItem::ItemClipsToShape, true);
|
setFlag(QGraphicsItem::ItemClipsToShape, true);
|
||||||
|
setFlag(QGraphicsItem::ItemClipsChildrenToShape, true);
|
||||||
d->parent = dynamic_cast<Widget *>(parent);
|
d->parent = dynamic_cast<Widget *>(parent);
|
||||||
|
|
||||||
if (d->parent) {
|
if (d->parent) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user