From a9853d2ffe177bf98eb7610b58bb1bbb44743510 Mon Sep 17 00:00:00 2001 From: Kim Motoyoshi Kalland Date: Thu, 23 Jun 2011 14:13:24 +0200 Subject: Updated tst_nodestest to use the DirtyForceUpdate flag. Changed test to use DirtyForceUpdate instead of DirtyAll, and removed DirtyRenderOrder and DirtyAll enums which should not be used. --- tests/auto/declarative/node/tst_nodestest.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tests') diff --git a/tests/auto/declarative/node/tst_nodestest.cpp b/tests/auto/declarative/node/tst_nodestest.cpp index a1b0a6ac91..fc159b98e9 100644 --- a/tests/auto/declarative/node/tst_nodestest.cpp +++ b/tests/auto/declarative/node/tst_nodestest.cpp @@ -196,14 +196,14 @@ public: if (renderer->rootNode()->parent()) { // Mark the root dirty to build a clean state from the root and down - renderer->rootNode()->markDirty(QSGNode::DirtyAll); + renderer->rootNode()->markDirty(QSGNode::DirtyForceUpdate); } renderer->renderScene(); if (renderer->rootNode()->parent()) { // Mark the parent of the root dirty to force the root and down to be updated. - renderer->rootNode()->parent()->markDirty(QSGNode::DirtyAll); + renderer->rootNode()->parent()->markDirty(QSGNode::DirtyForceUpdate); } } -- cgit v1.2.3