diff options
author | Caio Marcelo de Oliveira Filho <caio.oliveira@openbossa.org> | 2009-10-08 18:52:11 (GMT) |
---|---|---|
committer | Caio Marcelo de Oliveira Filho <caio.oliveira@openbossa.org> | 2009-10-09 14:18:43 (GMT) |
commit | bd47b9215a40ec4d9e290e18ac156f5e0cb5bbd2 (patch) | |
tree | 49e3845beade3bd8969a58e154269370e118ca3b /LICENSE.LGPL | |
parent | b6be5eb62a79f7c0d3718a05b18dcf69d2c21550 (diff) | |
download | Qt-bd47b9215a40ec4d9e290e18ac156f5e0cb5bbd2.zip Qt-bd47b9215a40ec4d9e290e18ac156f5e0cb5bbd2.tar.gz Qt-bd47b9215a40ec4d9e290e18ac156f5e0cb5bbd2.tar.bz2 |
QGAL: avoid having to re-calculate lists of variables
Change the functions solvePreferred() and solveExpanding() to take a
list of variables, so they don't need to calculate them based on the
list of constraints. That way, the trunk variables are calculated only
once.
This commit also reduce the scope of 'sizeHintConstraints' variable
instead of clearing and reusing it.
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 'LICENSE.LGPL')
0 files changed, 0 insertions, 0 deletions