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.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/render/frontend/framegraph-components/qstateset.cpp b/src/render/frontend/framegraph-components/qstateset.cpp
index b90b459c0..166946ec5 100644
--- a/src/render/frontend/framegraph-components/qstateset.cpp
+++ b/src/render/frontend/framegraph-components/qstateset.cpp
@@ -83,8 +83,6 @@ void QStateSet::copy(const QNode *ref)
QFrameGraphNode::copy(ref);
const QStateSet *other = static_cast<const QStateSet*>(ref);
- Q_FOREACH (QFrameGraphNode *fgChild, other->d_func()->m_fgChildren)
- appendFrameGraphNode(qobject_cast<QFrameGraphNode *>(QNode::clone(fgChild)));
Q_FOREACH (QRenderState *renderState, other->d_func()->m_renderStates)
addRenderState(qobject_cast<QRenderState *>(QNode::clone(renderState)));
}