Disable reordering as it is currently broken
authorGunnar Sletta <gunnar.sletta@nokia.com>
Mon, 26 Sep 2011 08:45:28 +0000 (10:45 +0200)
committerQt by Nokia <qt-info@nokia.com>
Mon, 26 Sep 2011 09:46:58 +0000 (11:46 +0200)
Change-Id: I28b622422aff62ea988a2918830338736df6fdbe
Reviewed-on: http://codereview.qt-project.org/5528
Reviewed-by: Kim M. Kalland <kim.kalland@nokia.com>
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
src/declarative/scenegraph/coreapi/qsgdefaultrenderer.cpp

index 93d8ca0..ffecfc4 100644 (file)
@@ -377,7 +377,7 @@ void QSGDefaultRenderer::buildLists(QSGNode *node)
 #ifdef FORCE_NO_REORDER
     static bool reorder = false;
 #else
-    static bool reorder = !qApp->arguments().contains(QLatin1String("--no-reorder"));
+    static bool reorder = qApp->arguments().contains(QLatin1String("--reorder"));
 #endif
 
     if (reorder && node->firstChild() != node->lastChild() && (node->flags() & QSGNode::ChildrenDoNotOverlap)) {