diff options
author | Eduardo M. Fleury <eduardo.fleury@openbossa.org> | 2009-07-14 20:58:09 (GMT) |
---|---|---|
committer | Eduardo M. Fleury <eduardo.fleury@openbossa.org> | 2009-07-22 18:04:53 (GMT) |
commit | 4419654149be34e646fdff4c4f2897292a129d33 (patch) | |
tree | a96cc8650ceee0901fc7bae651632cdd7732bd3b /doc/src/snippets/code/doc_src_examples_worldtimeclockplugin.qdoc | |
parent | ded06db0f1289ab0dbb2bd546cb05cc5ab354be8 (diff) | |
download | Qt-4419654149be34e646fdff4c4f2897292a129d33.zip Qt-4419654149be34e646fdff4c4f2897292a129d33.tar.gz Qt-4419654149be34e646fdff4c4f2897292a129d33.tar.bz2 |
QGraphicsAnchorLayout: Testing for existing anchors before adding new ones
The layout was not aware of the fact an anchor could already exist when it
was added. This commit ensures that only one anchor exists between two
vertices to avoid unwanted behavior and memory leaks (AnchorData's and
Vertices would leak otherwise).
Signed-off-by: Eduardo M. Fleury <eduardo.fleury@openbossa.org>
Reviewed-by: Anselmo Lacerda S. de Melo <anselmo.melo@openbossa.org>
Diffstat (limited to 'doc/src/snippets/code/doc_src_examples_worldtimeclockplugin.qdoc')
0 files changed, 0 insertions, 0 deletions