diff options
Diffstat (limited to 'tests/auto/input/action/tst_action.cpp')
-rw-r--r-- | tests/auto/input/action/tst_action.cpp | 2 |
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 91ca2f794..7ef9bca1e 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::QPropertyUpdatedChangePtr updateChange; // WHEN - updateChange.reset(new Qt3DCore::QPropertyUpdatedChange(Qt3DCore::QNodeId())); + updateChange = QSharedPointer<Qt3DCore::QPropertyUpdatedChange>::create(Qt3DCore::QNodeId()); updateChange->setPropertyName("enabled"); updateChange->setValue(true); backendAction.sceneChangeEvent(updateChange); |