summaryrefslogtreecommitdiffstats
path: root/examples/effects/lighting/shadoweffect.h
diff options
context:
space:
mode:
Diffstat (limited to 'examples/effects/lighting/shadoweffect.h')
-rw-r--r--examples/effects/lighting/shadoweffect.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/effects/lighting/shadoweffect.h b/examples/effects/lighting/shadoweffect.h
index 68318b0..b20f647 100644
--- a/examples/effects/lighting/shadoweffect.h
+++ b/examples/effects/lighting/shadoweffect.h
@@ -45,7 +45,7 @@
#include <QGraphicsEffect>
#include <QGraphicsItem>
-class ShadowEffect: public QGraphicsShadowEffect
+class ShadowEffect: public QGraphicsDropShadowEffect
{
public:
ShadowEffect(QGraphicsItem *item, QGraphicsItem *source);