summaryrefslogtreecommitdiffstats
path: root/src/render/framegraph/qframegraphnode.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/render/framegraph/qframegraphnode.cpp')
-rw-r--r--src/render/framegraph/qframegraphnode.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/render/framegraph/qframegraphnode.cpp b/src/render/framegraph/qframegraphnode.cpp
index 5319abb5f..48f3e3cb4 100644
--- a/src/render/framegraph/qframegraphnode.cpp
+++ b/src/render/framegraph/qframegraphnode.cpp
@@ -11,7 +11,6 @@
#include <QList>
#include <QQueue>
-using namespace Qt3DCore;
QT_BEGIN_NAMESPACE
@@ -340,6 +339,8 @@ QFrameGraphNode *QFrameGraphNode::parentFrameGraphNode() const
*/
QList<QFrameGraphNode *> QFrameGraphNodePrivate::childFrameGraphNodes() const
{
+ using namespace Qt3DCore;
+
Q_Q(const QFrameGraphNode);
QList<QFrameGraphNode *> result;
QQueue<QNode *> queue;