add flags to node debug output
authorGunnar Sletta <gunnar.sletta@nokia.com>
Thu, 1 Sep 2011 10:29:00 +0000 (12:29 +0200)
committerKim M. Kalland <kim.kalland@nokia.com>
Thu, 1 Sep 2011 13:20:34 +0000 (15:20 +0200)
Change-Id: Idc5f542a40d98b8163fb894e26e53127d1b6369c
Reviewed-on: http://codereview.qt.nokia.com/4065
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Kim M. Kalland <kim.kalland@nokia.com>
src/declarative/scenegraph/coreapi/qsgnode.cpp

index 95afbb5..65b4bf9 100644 (file)
@@ -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;