summaryrefslogtreecommitdiffstats
path: root/examples/widgets/doc/src/diagramscene.qdoc
diff options
context:
space:
mode:
Diffstat (limited to 'examples/widgets/doc/src/diagramscene.qdoc')
-rw-r--r--examples/widgets/doc/src/diagramscene.qdoc4
1 files changed, 3 insertions, 1 deletions
diff --git a/examples/widgets/doc/src/diagramscene.qdoc b/examples/widgets/doc/src/diagramscene.qdoc
index 860dcc5cb9..1a94d53162 100644
--- a/examples/widgets/doc/src/diagramscene.qdoc
+++ b/examples/widgets/doc/src/diagramscene.qdoc
@@ -643,7 +643,9 @@
This function is called when the item is removed from the scene
and removes all arrows that are connected to this item. The arrow
must be removed from the \c arrows list of both its start and end
- item.
+ item. Since either the start or the end item is the object where
+ this function is currently called, we have to make sure to work on
+ a copy of arrows since removeArrow() is modifying this container.
Here is the \c addArrow() function: