diff options
Diffstat (limited to 'examples/graphicsview/lighting/shadoweffect.cpp')
-rw-r--r-- | examples/graphicsview/lighting/shadoweffect.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/graphicsview/lighting/shadoweffect.cpp b/examples/graphicsview/lighting/shadoweffect.cpp index c1d384a..726cbd0 100644 --- a/examples/graphicsview/lighting/shadoweffect.cpp +++ b/examples/graphicsview/lighting/shadoweffect.cpp @@ -43,8 +43,8 @@ #include <math.h> -ShadowEffect::ShadowEffect(QGraphicsItem *source) - : QGraphicsShadowEffect() +ShadowEffect::ShadowEffect(QGraphicsItem *source, QObject *parent) + : QGraphicsShadowEffect(parent) , m_lightSource(source) { setBlurRadius(8); |