summaryrefslogtreecommitdiffstats
path: root/src/gui/graphicsview/qgraph_p.h
diff options
context:
space:
mode:
authorJan-Arve Sæther <jan-arve.saether@nokia.com>2009-12-04 10:24:27 (GMT)
committerJan-Arve Sæther <jan-arve.saether@nokia.com>2009-12-04 14:23:11 (GMT)
commitac83e69ffbabff8a5e674d38f0bc90ff5f188f6e (patch)
tree5f232e09e0ba225789265c33ae142e953212e362 /src/gui/graphicsview/qgraph_p.h
parente112bc5d2e1eb567aef3077a014a021244ed2ece (diff)
downloadQt-ac83e69ffbabff8a5e674d38f0bc90ff5f188f6e.zip
Qt-ac83e69ffbabff8a5e674d38f0bc90ff5f188f6e.tar.gz
Qt-ac83e69ffbabff8a5e674d38f0bc90ff5f188f6e.tar.bz2
Made sure that we didn't reference dangling parallel anchors.
We cannot delete the parallel anchors before we do the actual vertex restoration, since the parallel anchors created by vertex simplification will always be connected to some of the AnchorVertexPair found in simplifiedVertices that we iterate over later. Thus, we must delete the parallel anchors created by vertex simplification after we have done the restoration of the vertices. (the parallel anchor will be properly dealt with (i.e. taken out of the graph as we do the restoration)), so not deleting it won't cause it to be revisited later if that is a worry. Reviewed-by: Eduardo M. Fleury
Diffstat (limited to 'src/gui/graphicsview/qgraph_p.h')
0 files changed, 0 insertions, 0 deletions