summaryrefslogtreecommitdiffstats
path: root/tests/auto/input/action/tst_action.cpp
diff options
context:
space:
mode:
authorSean Harmer <sean.harmer@kdab.com>2016-05-09 13:46:14 +0100
committerSean Harmer <sean.harmer@kdab.com>2016-05-10 19:08:37 +0000
commita3e2dcf36679a5ae9cb18fe3730d0e3dca6240d6 (patch)
treee613d11e42484142a1c044b08035924543864c8f /tests/auto/input/action/tst_action.cpp
parent9927e58063c7bfcb7fedf4f0e01a672dd6ff6b24 (diff)
Remove ChangeFlag from NodeUpdated change type ctors
...and fix resulting compilation issues and tests. Had to temporarily allow QNode[Added|Removed] property change to be able to handle QVariant payloads too. This will be split out into a separate pair of classes in a future commit. Task-number: QTBUG-51494 Change-Id: I1748e3b8aa3c39fa171ee0c5af4204502826ba07 Reviewed-by: Paul Lemire <paul.lemire@kdab.com>
Diffstat (limited to 'tests/auto/input/action/tst_action.cpp')
-rw-r--r--tests/auto/input/action/tst_action.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/auto/input/action/tst_action.cpp b/tests/auto/input/action/tst_action.cpp
index ee1e545e5..78d4ecf55 100644
--- a/tests/auto/input/action/tst_action.cpp
+++ b/tests/auto/input/action/tst_action.cpp
@@ -113,7 +113,7 @@ private Q_SLOTS:
Qt3DCore::QNodePropertyChangePtr updateChange;
// WHEN
- updateChange.reset(new Qt3DCore::QNodePropertyChange(Qt3DCore::PropertyUpdated, Qt3DCore::QSceneChange::Node, Qt3DCore::QNodeId()));
+ updateChange.reset(new Qt3DCore::QNodePropertyChange(Qt3DCore::QSceneChange::Node, Qt3DCore::QNodeId()));
updateChange->setPropertyName("enabled");
updateChange->setValue(true);
backendAction.sceneChangeEvent(updateChange);