summaryrefslogtreecommitdiffstats
path: root/tests/auto/render/qframegraphnode/tst_qframegraphnode.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto/render/qframegraphnode/tst_qframegraphnode.cpp')
-rw-r--r--tests/auto/render/qframegraphnode/tst_qframegraphnode.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/auto/render/qframegraphnode/tst_qframegraphnode.cpp b/tests/auto/render/qframegraphnode/tst_qframegraphnode.cpp
index cb25fcf9c..63fb9ac3b 100644
--- a/tests/auto/render/qframegraphnode/tst_qframegraphnode.cpp
+++ b/tests/auto/render/qframegraphnode/tst_qframegraphnode.cpp
@@ -120,7 +120,7 @@ private Q_SLOTS:
// THEN
QCOMPARE(arbiter.events.size(), 1);
- Qt3DCore::QScenePropertyChangePtr change = arbiter.events.first().staticCast<Qt3DCore::QScenePropertyChange>();
+ Qt3DCore::QNodePropertyChangePtr change = arbiter.events.first().staticCast<Qt3DCore::QNodePropertyChange>();
QCOMPARE(change->propertyName(), "enabled");
QCOMPARE(change->subjectId(), frameGraphNode->id());
QCOMPARE(change->value().toBool(), false);
@@ -141,7 +141,7 @@ private Q_SLOTS:
// THEN
QCOMPARE(arbiter.events.size(), 1);
- change = arbiter.events.first().staticCast<Qt3DCore::QScenePropertyChange>();
+ change = arbiter.events.first().staticCast<Qt3DCore::QNodePropertyChange>();
QCOMPARE(change->propertyName(), "enabled");
QCOMPARE(change->subjectId(), frameGraphNode->id());
QCOMPARE(change->value().toBool(), true);