diff options
Diffstat (limited to 'tests/auto/qgraphicsitem/tst_qgraphicsitem.cpp')
-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 976f57d..184bfe2 100644 --- a/tests/auto/qgraphicsitem/tst_qgraphicsitem.cpp +++ b/tests/auto/qgraphicsitem/tst_qgraphicsitem.cpp @@ -7418,7 +7418,7 @@ void tst_QGraphicsItem::hitTestGraphicsEffectItem() item3->repaints = 0; // Apply shadow effect to the entire sub-tree. - QGraphicsShadowEffect *shadow = new QGraphicsShadowEffect; + QGraphicsDropShadowEffect *shadow = new QGraphicsDropShadowEffect; shadow->setShadowOffset(-20, -20); item1->setGraphicsEffect(shadow); QTest::qWait(50); |