summaryrefslogtreecommitdiffstats
path: root/examples/effects
diff options
context:
space:
mode:
Diffstat (limited to 'examples/effects')
-rw-r--r--examples/effects/lighting/lighting.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/examples/effects/lighting/lighting.cpp b/examples/effects/lighting/lighting.cpp
index 0dd6057..7026b66 100644
--- a/examples/effects/lighting/lighting.cpp
+++ b/examples/effects/lighting/lighting.cpp
@@ -96,7 +96,9 @@ void Lighting::setupScene()
item->setPen(QPen(Qt::black));
item->setBrush(QBrush(Qt::white));
- item->setGraphicsEffect(new QGraphicsDropShadowEffect);
+ QGraphicsDropShadowEffect *effect = new QGraphicsDropShadowEffect;
+ effect->setBlurRadius(8);
+ item->setGraphicsEffect(effect);
item->setZValue(1);
item->setPos(i * 80, j * 80);
m_scene.addItem(item);