put clip to shape back in business as the bugs related to it seem to be

fixed in 4.3.1

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=696383
This commit is contained in:
Aaron J. Seigo 2007-08-04 15:53:28 +00:00
parent ecad916f0a
commit f74b94a1d5

View File

@ -99,8 +99,10 @@ public:
void init(Applet* applet)
{
applet->setFlag(QGraphicsItem::ItemClipsToShape, false);
applet->setFlag(QGraphicsItem::ItemClipsChildrenToShape, false);
//these lines fix behaviour somewhat with update()s after resize in qt 4.3.0,
//but the issues are fixed in 4.3.1 and this breaks shadows.
//applet->setFlag(QGraphicsItem::ItemClipsToShape, false);
//applet->setFlag(QGraphicsItem::ItemClipsChildrenToShape, false);
kioskImmutable = applet->globalConfig().isImmutable() ||
applet->config().isImmutable();
applet->setImmutable(kioskImmutable);