summaryrefslogtreecommitdiffstats
path: root/src/quick3d/quick3dscene2d/items/scene2d.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/quick3d/quick3dscene2d/items/scene2d.cpp')
-rw-r--r--src/quick3d/quick3dscene2d/items/scene2d.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/quick3d/quick3dscene2d/items/scene2d.cpp b/src/quick3d/quick3dscene2d/items/scene2d.cpp
index 4afe04382..77d875cb5 100644
--- a/src/quick3d/quick3dscene2d/items/scene2d.cpp
+++ b/src/quick3d/quick3dscene2d/items/scene2d.cpp
@@ -35,7 +35,6 @@ QT_BEGIN_NAMESPACE
#define GL_DEPTH24_STENCIL8 0x88F0
#endif
-using namespace Qt3DRender::Quick;
namespace Qt3DRender {
@@ -43,6 +42,8 @@ namespace Render {
namespace Quick {
+using namespace Qt3DRender::Quick;
+
Q_GLOBAL_STATIC(QThread, renderThread)
Q_GLOBAL_STATIC(QAtomicInt, renderThreadClientCount)