diff options
Diffstat (limited to 'tests/auto/input/qactioninput/tst_qactioninput.cpp')
-rw-r--r-- | tests/auto/input/qactioninput/tst_qactioninput.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/auto/input/qactioninput/tst_qactioninput.cpp b/tests/auto/input/qactioninput/tst_qactioninput.cpp index 0ece3055e..6a56e731c 100644 --- a/tests/auto/input/qactioninput/tst_qactioninput.cpp +++ b/tests/auto/input/qactioninput/tst_qactioninput.cpp @@ -104,7 +104,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(), "buttons"); QCOMPARE(change->value().toList(), buttons); QCOMPARE(change->type(), Qt3DCore::NodeUpdated); @@ -118,7 +118,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(), "sourceDevice"); QCOMPARE(change->value().value<Qt3DCore::QNodeId>(), device->id()); QCOMPARE(change->type(), Qt3DCore::NodeUpdated); |