From 3b91bdf93159adcb73c66f64d494a5bdc190c693 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jan-Arve=20S=C3=A6ther?= Date: Wed, 12 Aug 2009 11:12:51 +0200 Subject: Disable simplification and restoration since it still has problems. --- src/gui/graphicsview/qgraphicsanchorlayout_p.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/gui/graphicsview/qgraphicsanchorlayout_p.cpp b/src/gui/graphicsview/qgraphicsanchorlayout_p.cpp index 337f887..5469431 100644 --- a/src/gui/graphicsview/qgraphicsanchorlayout_p.cpp +++ b/src/gui/graphicsview/qgraphicsanchorlayout_p.cpp @@ -1088,7 +1088,7 @@ void QGraphicsAnchorLayoutPrivate::calculateGraphs( // However, as the two setAnchorSizeHints methods above are not // ready to be run on top of a simplified graph, we must simplify // and restore it every time we get here. - simplifyGraph(orientation); + //simplifyGraph(orientation); // Traverse all graph edges and store the possible paths to each vertex findPaths(orientation); @@ -1248,7 +1248,7 @@ void QGraphicsAnchorLayoutPrivate::calculateGraphs( (*iter)->updateChildrenSizes(); // Restore the graph. See the ### note next to the simplifyGraph() call. - restoreSimplifiedGraph(orientation); + //restoreSimplifiedGraph(orientation); } void QGraphicsAnchorLayoutPrivate::setAnchorSizeHintsFromDefaults(Orientation orientation) -- cgit v0.12