aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorGunnar Sletta <gunnar.sletta@nokia.com>2011-08-11 07:38:55 +0200
committerQt by Nokia <qt-info@nokia.com>2011-08-11 10:14:20 +0200
commit65b69351834efe423f7c9f1e85964db8af294394 (patch)
tree635ec226edc5dcf4372ecc7219d8eb0d3a1084cd /src
parent55f7013439cda71d12d50e8ff94d8e5010644071 (diff)
Remove initialization warnings
Change-Id: Ie11a91034174b248b564fa5d8af8905a79b6eacf Reviewed-on: http://codereview.qt.nokia.com/2841 Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Kim M. Kalland <kim.kalland@nokia.com>
Diffstat (limited to 'src')
-rw-r--r--src/declarative/scenegraph/coreapi/qsgnode.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/declarative/scenegraph/coreapi/qsgnode.cpp b/src/declarative/scenegraph/coreapi/qsgnode.cpp
index c7b104f69b..4779b00406 100644
--- a/src/declarative/scenegraph/coreapi/qsgnode.cpp
+++ b/src/declarative/scenegraph/coreapi/qsgnode.cpp
@@ -84,13 +84,13 @@ static void qt_print_node_count()
QSGNode::QSGNode()
: m_parent(0)
, m_type(BasicNodeType)
- , m_subtreeGeometryCount(0)
- , m_nodeFlags(OwnedByParent)
- , m_flags(0)
, m_firstChild(0)
, m_lastChild(0)
, m_nextSibling(0)
, m_previousSibling(0)
+ , m_subtreeGeometryCount(0)
+ , m_nodeFlags(OwnedByParent)
+ , m_flags(0)
{
init();
}
@@ -98,13 +98,13 @@ QSGNode::QSGNode()
QSGNode::QSGNode(NodeType type)
: m_parent(0)
, m_type(type)
- , m_subtreeGeometryCount(type == GeometryNodeType ? 1 : 0)
- , m_nodeFlags(OwnedByParent)
- , m_flags(0)
, m_firstChild(0)
, m_lastChild(0)
, m_nextSibling(0)
, m_previousSibling(0)
+ , m_subtreeGeometryCount(type == GeometryNodeType ? 1 : 0)
+ , m_nodeFlags(OwnedByParent)
+ , m_flags(0)
{
init();
}