summaryrefslogtreecommitdiffstats
path: root/src/render/io/gltfparser.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/render/io/gltfparser.cpp')
-rw-r--r--src/render/io/gltfparser.cpp10
1 files changed, 4 insertions, 6 deletions
diff --git a/src/render/io/gltfparser.cpp b/src/render/io/gltfparser.cpp
index d3848473e..68aa14826 100644
--- a/src/render/io/gltfparser.cpp
+++ b/src/render/io/gltfparser.cpp
@@ -235,11 +235,9 @@ private:
class GLTFParserMeshPrivate : public QAbstractMeshPrivate
{
public:
-
- GLTFParserMeshPrivate(GLTFParserMesh *qq)
- : QAbstractMeshPrivate(qq)
- {
- }
+ GLTFParserMeshPrivate()
+ : QAbstractMeshPrivate()
+ {}
Q_DECLARE_PUBLIC(GLTFParserMesh)
QMeshDataPtr m_meshData;
@@ -1014,7 +1012,7 @@ void GLTFParserMesh::copy(const QNode *ref)
}
GLTFParserMesh::GLTFParserMesh(QNode *parent)
- : QAbstractMesh(*new GLTFParserMeshPrivate(this), parent)
+ : QAbstractMesh(*new GLTFParserMeshPrivate, parent)
{
}