From 6d3b0437c62fc6b4aedee80b615825e4e9cc531a Mon Sep 17 00:00:00 2001 From: Adenilson Cavalcanti Da Silva Date: Mon, 4 Jan 2010 21:09:59 +0000 Subject: [PATCH] A todo for later (fix the shadow when the widget has children). svn path=/trunk/KDE/kdelibs/; revision=1070097 --- animations/pulsershadow.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/animations/pulsershadow.cpp b/animations/pulsershadow.cpp index f0fac8019..f0a7a0457 100644 --- a/animations/pulsershadow.cpp +++ b/animations/pulsershadow.cpp @@ -44,6 +44,8 @@ void ShadowFake::paint(QPainter *painter, const QStyleOptionGraphicsItem *option void ShadowFake::setTarget(QGraphicsWidget *target) { + //TODO: use childItems() and also draw child elements in the shadow + //if it is > 0 m_target = target; setParentItem(target); resize(target->size());