diff options
Diffstat (limited to 'src/render/texture/texture.cpp')
-rw-r--r-- | src/render/texture/texture.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/render/texture/texture.cpp b/src/render/texture/texture.cpp index 4cb2d8d8d..530c9c60e 100644 --- a/src/render/texture/texture.cpp +++ b/src/render/texture/texture.cpp @@ -46,7 +46,7 @@ #include <QOpenGLPixelTransferOptions> #include <Qt3DRender/qtexture.h> #include <Qt3DRender/qtexturedata.h> -#include <Qt3DCore/qscenepropertychange.h> +#include <Qt3DCore/qnodepropertychange.h> #include <Qt3DRender/private/managers_p.h> #include <Qt3DRender/private/texturedatamanager_p.h> #include <Qt3DRender/private/qabstracttexture_p.h> @@ -552,7 +552,7 @@ void Texture::sceneChangeEvent(const Qt3DCore::QSceneChangePtr &e) QMutexLocker lock(&m_lock); // We lock here so that we're sure the texture cannot be rebuilt while we are // modifying one of its properties - QScenePropertyChangePtr propertyChange = qSharedPointerCast<QScenePropertyChange>(e); + QNodePropertyChangePtr propertyChange = qSharedPointerCast<QNodePropertyChange>(e); switch (e->type()) { case NodeUpdated: { if (propertyChange->propertyName() == QByteArrayLiteral("width")) { |