From 65b69351834efe423f7c9f1e85964db8af294394 Mon Sep 17 00:00:00 2001 From: Gunnar Sletta Date: Thu, 11 Aug 2011 07:38:55 +0200 Subject: [PATCH] Remove initialization warnings Change-Id: Ie11a91034174b248b564fa5d8af8905a79b6eacf Reviewed-on: http://codereview.qt.nokia.com/2841 Reviewed-by: Qt Sanity Bot Reviewed-by: Kim M. Kalland --- src/declarative/scenegraph/coreapi/qsgnode.cpp | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/declarative/scenegraph/coreapi/qsgnode.cpp b/src/declarative/scenegraph/coreapi/qsgnode.cpp index c7b104f..4779b00 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(); } -- 2.7.4