diff options
author | Bjørn Erik Nilsen <bjorn.nilsen@nokia.com> | 2009-08-21 09:33:44 (GMT) |
---|---|---|
committer | Bjørn Erik Nilsen <bjorn.nilsen@nokia.com> | 2009-08-21 11:51:32 (GMT) |
commit | 00d7d50cde5d1e491039149d58502e17dba9b3b7 (patch) | |
tree | ba59ef8f83677c0c7c74b7db2f3f7a55c2887c16 /tests/auto/qgraphicsitem | |
parent | 487f636523dfded4c07a39e4d96ab3e83c64f95e (diff) | |
download | Qt-00d7d50cde5d1e491039149d58502e17dba9b3b7.zip Qt-00d7d50cde5d1e491039149d58502e17dba9b3b7.tar.gz Qt-00d7d50cde5d1e491039149d58502e17dba9b3b7.tar.bz2 |
Use pixmap filter for the drop shadow effect.
Diffstat (limited to 'tests/auto/qgraphicsitem')
-rw-r--r-- | tests/auto/qgraphicsitem/tst_qgraphicsitem.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/auto/qgraphicsitem/tst_qgraphicsitem.cpp b/tests/auto/qgraphicsitem/tst_qgraphicsitem.cpp index 931e2d3..c335f16 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); |