summaryrefslogtreecommitdiffstats
path: root/doc/src/examples/diagramscene.qdoc
diff options
context:
space:
mode:
Diffstat (limited to 'doc/src/examples/diagramscene.qdoc')
-rw-r--r--doc/src/examples/diagramscene.qdoc3
1 files changed, 2 insertions, 1 deletions
diff --git a/doc/src/examples/diagramscene.qdoc b/doc/src/examples/diagramscene.qdoc
index f4d6b0d..7c643c2 100644
--- a/doc/src/examples/diagramscene.qdoc
+++ b/doc/src/examples/diagramscene.qdoc
@@ -265,7 +265,8 @@
\snippet examples/graphicsview/diagramscene/mainwindow.cpp 3
- This slot deletes the selected item, if any, from the scene. If
+ This slot deletes the selected item, if any, from the scene. It
+ deletes the arrows first in order to avoid to delete them twice. If
the item to be deleted is a \c DiagramItem, we also need to delete
arrows connected to it; we don't want arrows in the scene that
aren't connected to items in both ends.