diff options
author | Jan-Arve Sæther <jan-arve.saether@nokia.com> | 2009-08-12 09:12:51 (GMT) |
---|---|---|
committer | Jan-Arve Sæther <jan-arve.saether@nokia.com> | 2009-08-12 09:12:51 (GMT) |
commit | 3b91bdf93159adcb73c66f64d494a5bdc190c693 (patch) | |
tree | 17bf2cc5c04b30df157162fb13bc22b706af973e /src | |
parent | 14601e46729084f7f822bc7ef402553fba512452 (diff) | |
download | Qt-3b91bdf93159adcb73c66f64d494a5bdc190c693.zip Qt-3b91bdf93159adcb73c66f64d494a5bdc190c693.tar.gz Qt-3b91bdf93159adcb73c66f64d494a5bdc190c693.tar.bz2 |
Disable simplification and restoration since it still has problems.
Diffstat (limited to 'src')
-rw-r--r-- | src/gui/graphicsview/qgraphicsanchorlayout_p.cpp | 4 |
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) |