diff options
author | Eduardo M. Fleury <eduardo.fleury@openbossa.org> | 2009-07-23 22:59:05 (GMT) |
---|---|---|
committer | Eduardo M. Fleury <eduardo.fleury@openbossa.org> | 2009-08-06 22:47:31 (GMT) |
commit | f48d5dd7554edef5ac3fa11ebd86eaa52a8e23b6 (patch) | |
tree | 133df0421d5c5cdfd332bcdec99917a6582c0dda /demos | |
parent | aa05ec20ee0961f129eb66527892360c17dc3a18 (diff) | |
download | Qt-f48d5dd7554edef5ac3fa11ebd86eaa52a8e23b6.zip Qt-f48d5dd7554edef5ac3fa11ebd86eaa52a8e23b6.tar.gz Qt-f48d5dd7554edef5ac3fa11ebd86eaa52a8e23b6.tar.bz2 |
QGraphicsAnchorLayout: Fix center anchor deletion logic
We were missing a call to "removeCenterAnchors" in the "removeAnchors"
method. To solve that, and also reduce the number of useless calls to
that method, this commit:
1) Calls it only from "removeInternalVertex"
2) Does some preliminary testing before calling it
3) Replace the former test inside "removeCenterAnchors" by a Q_ASSERT
It also adds other Q_ASSERTs to protect us from regression bugs.
Signed-off-by: Eduardo M. Fleury <eduardo.fleury@openbossa.org>
Reviewed-by: Caio Marcelo de Oliveira Filho <caio.oliveira@openbossa.org>
Diffstat (limited to 'demos')
0 files changed, 0 insertions, 0 deletions