more debug
authorGunnar Sletta <gunnar.sletta@nokia.com>
Tue, 4 Oct 2011 07:53:04 +0000 (09:53 +0200)
committerQt by Nokia <qt-info@nokia.com>
Tue, 4 Oct 2011 13:10:57 +0000 (15:10 +0200)
Change-Id: I49c76424bd987059e74c0f13826d3ca7dd07e7ef
Reviewed-on: http://codereview.qt-project.org/5967
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Yoann Lopes <yoann.lopes@nokia.com>
src/declarative/items/qsgninepatchnode.cpp

index 7be5899..5d1ff98 100644 (file)
@@ -54,6 +54,9 @@ QSGNinePatchNode::QSGNinePatchNode()
     setMaterial(&m_materialO);
     setGeometry(&m_geometry);
     m_geometry.setDrawingMode(GL_TRIANGLES);
+#ifdef QML_RUNTIME_TESTING
+    description = "borderimage";
+#endif
 }
 
 void QSGNinePatchNode::setInnerRect(const QRectF &rect)