diff options
author | Alexis Menard <alexis.menard@nokia.com> | 2010-03-17 07:30:39 (GMT) |
---|---|---|
committer | Alexis Menard <alexis.menard@nokia.com> | 2010-03-17 07:30:39 (GMT) |
commit | 7a4f05f89927fd9ca8771550f1405d99e3961c24 (patch) | |
tree | a8fc87fae66cc7419db870bfa19d0465b8042808 /src/gui/graphicsview | |
parent | 111708e655d66fb0dcbc4f2cbdc2abf14c700cf4 (diff) | |
download | Qt-7a4f05f89927fd9ca8771550f1405d99e3961c24.zip Qt-7a4f05f89927fd9ca8771550f1405d99e3961c24.tar.gz Qt-7a4f05f89927fd9ca8771550f1405d99e3961c24.tar.bz2 |
Display the itemSendScenePositionChange properly when debugging.
Also a harmless test added to check that the flag is actually set.
Reviewed-by:TrustMe
Diffstat (limited to 'src/gui/graphicsview')
-rw-r--r-- | src/gui/graphicsview/qgraphicsitem.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/graphicsview/qgraphicsitem.cpp b/src/gui/graphicsview/qgraphicsitem.cpp index b712016..3c255ef 100644 --- a/src/gui/graphicsview/qgraphicsitem.cpp +++ b/src/gui/graphicsview/qgraphicsitem.cpp @@ -11141,7 +11141,7 @@ QDebug operator<<(QDebug debug, QGraphicsItem::GraphicsItemFlags flags) { debug << '('; bool f = false; - for (int i = 0; i < 16; ++i) { + for (int i = 0; i < 17; ++i) { if (flags & (1 << i)) { if (f) debug << '|'; |