summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/gui/graphicsview/qgraphicsanchorlayout_p.cpp4
1 files 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)