summaryrefslogtreecommitdiffstats
path: root/src/render/frontend/framegraph-components/qstateset.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/render/frontend/framegraph-components/qstateset.cpp')
-rw-r--r--src/render/frontend/framegraph-components/qstateset.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/render/frontend/framegraph-components/qstateset.cpp b/src/render/frontend/framegraph-components/qstateset.cpp
index 11e8d54bc..6f5149b87 100644
--- a/src/render/frontend/framegraph-components/qstateset.cpp
+++ b/src/render/frontend/framegraph-components/qstateset.cpp
@@ -44,8 +44,8 @@ QT_BEGIN_NAMESPACE
namespace Qt3D {
-QStateSetPrivate::QStateSetPrivate(QStateSet *qq)
- : QFrameGraphNodePrivate(qq)
+QStateSetPrivate::QStateSetPrivate()
+ : QFrameGraphNodePrivate()
{
}
@@ -68,7 +68,7 @@ QStateSetPrivate::QStateSetPrivate(QStateSet *qq)
*/
QStateSet::QStateSet(QNode *parent)
- : QFrameGraphNode(*new QStateSetPrivate(this), parent)
+ : QFrameGraphNode(*new QStateSetPrivate, parent)
{
}