summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoerg Bornemann <joerg.bornemann@theqtcompany.com>2015-07-09 17:59:33 +0200
committerSimon Hausmann <simon.hausmann@theqtcompany.com>2015-07-09 19:30:13 +0300
commitf6e7eb2811c57626d87ba498a96f2702b79730d5 (patch)
treece7e7dd49ae64fdfbdcc6d2f44d37033e3e98986
parent6d727703f07eff63db0216fd07e9b6d0ad6dcf1e (diff)
fix namespaced build
Change-Id: I319f73aaeef2656dc628873a460607d6944d7432 Reviewed-by: Simon Hausmann <simon.hausmann@theqtcompany.com>
-rw-r--r--src/plugins/scenegraph/softwarecontext/threadedrenderloop.cpp2
-rw-r--r--src/plugins/scenegraph/softwarecontext/threadedrenderloop.h4
2 files changed, 6 insertions, 0 deletions
diff --git a/src/plugins/scenegraph/softwarecontext/threadedrenderloop.cpp b/src/plugins/scenegraph/softwarecontext/threadedrenderloop.cpp
index 23e36bf20d..8ed5a84bc8 100644
--- a/src/plugins/scenegraph/softwarecontext/threadedrenderloop.cpp
+++ b/src/plugins/scenegraph/softwarecontext/threadedrenderloop.cpp
@@ -1114,4 +1114,6 @@ QImage ThreadedRenderLoop::grab(QQuickWindow *window)
return result;
}
+QT_END_NAMESPACE
+
#include "threadedrenderloop.moc"
diff --git a/src/plugins/scenegraph/softwarecontext/threadedrenderloop.h b/src/plugins/scenegraph/softwarecontext/threadedrenderloop.h
index 7e3bcb2d79..f5c640bb76 100644
--- a/src/plugins/scenegraph/softwarecontext/threadedrenderloop.h
+++ b/src/plugins/scenegraph/softwarecontext/threadedrenderloop.h
@@ -23,6 +23,8 @@
#include <private/qsgrenderloop_p.h>
+QT_BEGIN_NAMESPACE
+
class RenderThread;
class ThreadedRenderLoop : public QSGRenderLoop
@@ -94,4 +96,6 @@ private:
bool m_lockedForSync;
};
+QT_END_NAMESPACE
+
#endif // THREADEDRENDERLOOP_H