summaryrefslogtreecommitdiffstats
path: root/examples/graphicsview/lighting/shadoweffect.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'examples/graphicsview/lighting/shadoweffect.cpp')
-rw-r--r--examples/graphicsview/lighting/shadoweffect.cpp4
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);