aboutsummaryrefslogtreecommitdiffstats
path: root/src/quick/scenegraph/coreapi/qsgnode.cpp
diff options
context:
space:
mode:
authorFriedemann Kleint <Friedemann.Kleint@nokia.com>2012-05-14 13:50:46 +0200
committerQt by Nokia <qt-info@nokia.com>2012-05-14 13:57:37 +0200
commitfd5c099eea26a8101e2cc0dc3237d1250158b895 (patch)
tree562e5f40ee504c9fdc4feb23070836150f70af63 /src/quick/scenegraph/coreapi/qsgnode.cpp
parenta1151929fffc765e128d72d170342020b34dd0b3 (diff)
QtQuick: Fix string related warnings, single character strings.
- Fix warnings about truncation from size_t to int (MSVC 2010, 64bit). - Remove single character strings. Change-Id: Iaf4406e4e04d55d2d8b762f3433269868842a6f9 Reviewed-by: Roberto Raggi <roberto.raggi@nokia.com>
Diffstat (limited to 'src/quick/scenegraph/coreapi/qsgnode.cpp')
-rw-r--r--src/quick/scenegraph/coreapi/qsgnode.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/quick/scenegraph/coreapi/qsgnode.cpp b/src/quick/scenegraph/coreapi/qsgnode.cpp
index 496a8d0fde..a10e963c46 100644
--- a/src/quick/scenegraph/coreapi/qsgnode.cpp
+++ b/src/quick/scenegraph/coreapi/qsgnode.cpp
@@ -1193,7 +1193,7 @@ QDebug operator<<(QDebug d, const QSGGeometryNode *n)
d << "effect=" << n->material() << "type=" << n->material()->type();
- d << ")";
+ d << ')';
#ifdef QML_RUNTIME_TESTING
d << n->description;
#endif
@@ -1214,7 +1214,7 @@ QDebug operator<<(QDebug d, const QSGClipNode *n)
d << "is rect?" << (n->isRectangular() ? "yes" : "no");
- d << ")";
+ d << ')';
#ifdef QML_RUNTIME_TESTING
d << n->description;
#endif
@@ -1241,7 +1241,7 @@ QDebug operator<<(QDebug d, const QSGTransformNode *n)
d << n->description;
#endif
d << "dirty=" << hex << (int) n->dirtyState() << dec << (n->isSubtreeBlocked() ? "*BLOCKED*" : "");
- d << ")";
+ d << ')';
return d;
}
@@ -1260,7 +1260,7 @@ QDebug operator<<(QDebug d, const QSGOpacityNode *n)
d << n->description;
#endif
d << "dirty=" << hex << (int) n->dirtyState() << dec;
- d << ")";
+ d << ')';
return d;
}
@@ -1276,7 +1276,7 @@ QDebug operator<<(QDebug d, const QSGRootNode *n)
#ifdef QML_RUNTIME_TESTING
d << n->description;
#endif
- d << ")";
+ d << ')';
return d;
}
@@ -1312,7 +1312,7 @@ QDebug operator<<(QDebug d, const QSGNode *n)
#ifdef QML_RUNTIME_TESTING
d << n->description;
#endif
- d << ")";
+ d << ')';
break;
}
return d;