summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMitch Curtis <mitch.curtis@digia.com>2013-05-13 09:34:21 +0200
committerThe Qt Project <gerrit-noreply@qt-project.org>2013-05-13 13:29:48 +0200
commit6f4f8446893b48efcffb324c1d11b844fde8942c (patch)
treebfcdf36b55476986085fc6c60cf8f49b7425e876 /src
parent00859fe32f90154bb934644ec067d4406a8aa821 (diff)
Fix typo in QGraphicsItem documentation.
Change-Id: I69e7be75ec8164b81c2cd64fc0d4b475495a3db9 Reviewed-by: Jerome Pasion <jerome.pasion@digia.com>
Diffstat (limited to 'src')
-rw-r--r--src/widgets/graphicsview/qgraphicsitem.cpp4
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()
*/