diff options
author | Caio Marcelo de Oliveira Filho <caio.oliveira@openbossa.org> | 2009-10-08 23:09:21 (GMT) |
---|---|---|
committer | Eduardo M. Fleury <eduardo.fleury@openbossa.org> | 2009-10-15 14:37:52 (GMT) |
commit | aff8e7a24e5e8cc1f330a1b3c2947ba4d07d51ed (patch) | |
tree | 654d537eed396121ea15c28f47430fd6758d985d /src/gui/graphicsview/qgraphicsview.cpp | |
parent | e7e67b26fcd6c53dd822b1ae36074d418d432b4a (diff) | |
download | Qt-aff8e7a24e5e8cc1f330a1b3c2947ba4d07d51ed.zip Qt-aff8e7a24e5e8cc1f330a1b3c2947ba4d07d51ed.tar.gz Qt-aff8e7a24e5e8cc1f330a1b3c2947ba4d07d51ed.tar.bz2 |
QGAL: refactor calculateGraphs() method
Create calculateTrunk() and calculateNonTrunk() methods, that
calculate sizes for anchors in different parts of the simplified graph
(using simplex when needed).
Also fixes a minor leak when the nontrunk part is non-feasible. The
old code left the loop leaving the contents of 'sizeHintConstraints'
not allocated.
Signed-off-by: Caio Marcelo de Oliveira Filho <caio.oliveira@openbossa.org>
Reviewed-by: Artur Duque de Souza <artur.souza@openbossa.org>
Diffstat (limited to 'src/gui/graphicsview/qgraphicsview.cpp')
0 files changed, 0 insertions, 0 deletions