From f74b94a1d5092d3e0c830f8b23f4eb81b525307a Mon Sep 17 00:00:00 2001 From: "Aaron J. Seigo" Date: Sat, 4 Aug 2007 15:53:28 +0000 Subject: [PATCH] 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 --- applet.cpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/applet.cpp b/applet.cpp index 86598ee85..5566396c3 100644 --- a/applet.cpp +++ b/applet.cpp @@ -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);