diff options
Diffstat (limited to 'src/render/io/scene.cpp')
-rw-r--r-- | src/render/io/scene.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/render/io/scene.cpp b/src/render/io/scene.cpp index ba151c588..51a17efb9 100644 --- a/src/render/io/scene.cpp +++ b/src/render/io/scene.cpp @@ -39,7 +39,7 @@ #include "scene_p.h" #include <Qt3DCore/qentity.h> -#include <Qt3DCore/qscenepropertychange.h> +#include <Qt3DCore/qnodepropertychange.h> #include <Qt3DCore/private/qnode_p.h> #include <Qt3DCore/private/qscene_p.h> #include <Qt3DCore/qbackendscenepropertychange.h> @@ -80,7 +80,7 @@ void Scene::initializeFromPeer(const Qt3DCore::QNodeCreatedChangeBasePtr &change void Scene::sceneChangeEvent(const Qt3DCore::QSceneChangePtr &e) { - QScenePropertyChangePtr propertyChange = qSharedPointerCast<QScenePropertyChange>(e); + QNodePropertyChangePtr propertyChange = qSharedPointerCast<QNodePropertyChange>(e); if (propertyChange->propertyName() == QByteArrayLiteral("source")) { m_source = propertyChange->value().toUrl(); m_sceneManager->addSceneData(m_source, peerId()); |