diff options
-rw-r--r-- | src/widgets/graphicsview/qgraphicsitem.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/widgets/graphicsview/qgraphicsitem.cpp b/src/widgets/graphicsview/qgraphicsitem.cpp index 62eab6a7a2..3001e23d5d 100644 --- a/src/widgets/graphicsview/qgraphicsitem.cpp +++ b/src/widgets/graphicsview/qgraphicsitem.cpp @@ -1658,8 +1658,8 @@ const QGraphicsObject *QGraphicsItem::toGraphicsObject() const the parent. You should not \l{QGraphicsScene::addItem()}{add} the item to the scene yourself. - Calling this function on an item that is an ancestor of \a newParent - have undefined behaviour. + The behavior when calling this function on an item that is an ancestor of + \a newParent is undefined. \sa parentItem(), childItems() */ |