summaryrefslogtreecommitdiffstats
path: root/src/plugins/scenegraph/softwarecontext/glyphnode.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/scenegraph/softwarecontext/glyphnode.cpp')
-rw-r--r--src/plugins/scenegraph/softwarecontext/glyphnode.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/plugins/scenegraph/softwarecontext/glyphnode.cpp b/src/plugins/scenegraph/softwarecontext/glyphnode.cpp
index d37965a..08d9d93 100644
--- a/src/plugins/scenegraph/softwarecontext/glyphnode.cpp
+++ b/src/plugins/scenegraph/softwarecontext/glyphnode.cpp
@@ -29,6 +29,8 @@
#include "glyphnode.h"
+QT_BEGIN_NAMESPACE
+
GlyphNode::GlyphNode()
: m_geometry(QSGGeometry::defaultAttributes_TexturedPoint2D(), 0)
, m_style(QQuickText::Normal)
@@ -100,3 +102,5 @@ void GlyphNode::paint(QPainter *painter)
painter->setPen(m_color);
painter->drawGlyphRun(pos, m_glyphRun);
}
+
+QT_END_NAMESPACE