aboutsummaryrefslogtreecommitdiffstats
path: root/src/declarative/scenegraph
diff options
context:
space:
mode:
authorGunnar Sletta <gunnar.sletta@nokia.com>2011-09-29 21:25:02 +0200
committerQt by Nokia <qt-info@nokia.com>2011-10-04 15:10:57 +0200
commit33156a51f9f139511335521a2d238d6fb9dd6aa9 (patch)
tree68171a3017ef926368b78c265b358aafeeee772a /src/declarative/scenegraph
parentc5dd6dff08ef9ecd39e446b2c1ded3c55af321fd (diff)
Add debug description to QSGDistanceFieldGlyphNode
Change-Id: If66482f6e00bfade2da3b9067ff51ef782cd486e Reviewed-on: http://codereview.qt-project.org/5849 Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Kim M. Kalland <kim.kalland@nokia.com>
Diffstat (limited to 'src/declarative/scenegraph')
-rw-r--r--src/declarative/scenegraph/qsgdistancefieldglyphnode.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/declarative/scenegraph/qsgdistancefieldglyphnode.cpp b/src/declarative/scenegraph/qsgdistancefieldglyphnode.cpp
index cb3dab959c..3586c9daa2 100644
--- a/src/declarative/scenegraph/qsgdistancefieldglyphnode.cpp
+++ b/src/declarative/scenegraph/qsgdistancefieldglyphnode.cpp
@@ -60,6 +60,9 @@ QSGDistanceFieldGlyphNode::QSGDistanceFieldGlyphNode(QSGDistanceFieldGlyphCacheM
m_geometry.setDrawingMode(GL_TRIANGLES);
setGeometry(&m_geometry);
setPreferredAntialiasingMode(cacheManager->defaultAntialiasingMode());
+#ifdef QML_RUNTIME_TESTING
+ description = QLatin1String("glyphs");
+#endif
}
QSGDistanceFieldGlyphNode::~QSGDistanceFieldGlyphNode()