From 1fc32268c840ca9fa3f6882af0c3e27c611c1232 Mon Sep 17 00:00:00 2001 From: Gunnar Sletta Date: Thu, 1 Sep 2011 12:29:00 +0200 Subject: [PATCH] add flags to node debug output Change-Id: Idc5f542a40d98b8163fb894e26e53127d1b6369c Reviewed-on: http://codereview.qt.nokia.com/4065 Reviewed-by: Qt Sanity Bot Reviewed-by: Kim M. Kalland --- src/declarative/scenegraph/coreapi/qsgnode.cpp | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/src/declarative/scenegraph/coreapi/qsgnode.cpp b/src/declarative/scenegraph/coreapi/qsgnode.cpp index 95afbb5..65b4bf9 100644 --- a/src/declarative/scenegraph/coreapi/qsgnode.cpp +++ b/src/declarative/scenegraph/coreapi/qsgnode.cpp @@ -1235,7 +1235,8 @@ QDebug operator<<(QDebug d, const QSGNode *n) break; default: d << "QSGNode(" << hex << (void *) n << dec - << "dirty=" << hex << (int) n->dirtyFlags() << dec + << "dirty=" << hex << (int) n->dirtyFlags() + << "flags=" << (int) n->flags() << dec << (n->isSubtreeBlocked() ? "*BLOCKED*" : ""); #ifdef QML_RUNTIME_TESTING d << n->description; -- 1.7.2.5