For posterity's sake

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=693708
This commit is contained in:
Matt Broadstone 2007-07-28 19:27:09 +00:00
parent c5b02c7a1b
commit 9bc4377eff

View File

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