summaryrefslogtreecommitdiffstats
path: root/tests/auto/qgraphicsitem/tst_qgraphicsitem.cpp
diff options
context:
space:
mode:
authorBjørn Erik Nilsen <bjorn.nilsen@nokia.com>2009-08-21 11:33:44 +0200
committerBjørn Erik Nilsen <bjorn.nilsen@nokia.com>2009-08-21 13:51:32 +0200
commit00d7d50cde5d1e491039149d58502e17dba9b3b7 (patch)
treeba59ef8f83677c0c7c74b7db2f3f7a55c2887c16 /tests/auto/qgraphicsitem/tst_qgraphicsitem.cpp
parent487f636523dfded4c07a39e4d96ab3e83c64f95e (diff)
Use pixmap filter for the drop shadow effect.
Diffstat (limited to 'tests/auto/qgraphicsitem/tst_qgraphicsitem.cpp')
-rw-r--r--tests/auto/qgraphicsitem/tst_qgraphicsitem.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/auto/qgraphicsitem/tst_qgraphicsitem.cpp b/tests/auto/qgraphicsitem/tst_qgraphicsitem.cpp
index 931e2d3b5c..c335f16a2a 100644
--- a/tests/auto/qgraphicsitem/tst_qgraphicsitem.cpp
+++ b/tests/auto/qgraphicsitem/tst_qgraphicsitem.cpp
@@ -7420,7 +7420,7 @@ void tst_QGraphicsItem::hitTestGraphicsEffectItem()
// Apply shadow effect to the entire sub-tree.
QGraphicsDropShadowEffect *shadow = new QGraphicsDropShadowEffect;
- shadow->setShadowOffset(-20, -20);
+ shadow->setOffset(-20, -20);
item1->setGraphicsEffect(shadow);
QTest::qWait(50);