summaryrefslogtreecommitdiffstats
path: root/doc/src/snippets/code/src_gui_widgets_qlineedit.cpp
diff options
context:
space:
mode:
authorEduardo M. Fleury <eduardo.fleury@openbossa.org>2009-07-14 20:58:09 (GMT)
committerEduardo M. Fleury <eduardo.fleury@openbossa.org>2009-07-22 18:04:53 (GMT)
commit4419654149be34e646fdff4c4f2897292a129d33 (patch)
treea96cc8650ceee0901fc7bae651632cdd7732bd3b /doc/src/snippets/code/src_gui_widgets_qlineedit.cpp
parentded06db0f1289ab0dbb2bd546cb05cc5ab354be8 (diff)
downloadQt-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/src_gui_widgets_qlineedit.cpp')
0 files changed, 0 insertions, 0 deletions