From 1ff0ac9415f7933b9fc9043646028897d87cbdb1 Mon Sep 17 00:00:00 2001 From: Mitch Curtis Date: Wed, 10 Jul 2013 13:20:53 +0200 Subject: [PATCH] Fix typo in setGraphicsEffect() occurrences. Change-Id: Iaca926ab47670616b55b0ab7ab735710237a5df8 Reviewed-by: Jerome Pasion --- src/widgets/graphicsview/qgraphicsitem.cpp | 2 +- src/widgets/kernel/qwidget.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/widgets/graphicsview/qgraphicsitem.cpp b/src/widgets/graphicsview/qgraphicsitem.cpp index 668436c1a2..1c15905ff0 100644 --- a/src/widgets/graphicsview/qgraphicsitem.cpp +++ b/src/widgets/graphicsview/qgraphicsitem.cpp @@ -2741,7 +2741,7 @@ QGraphicsEffect *QGraphicsItem::graphicsEffect() const the new \a effect. You can delete an existing effect by calling setGraphicsEffect(0). - If \a effect is the installed on a different item, setGraphicsEffect() will remove + If \a effect is the installed effect on a different item, setGraphicsEffect() will remove the effect from the item and install it on this item. QGraphicsItem takes ownership of \a effect. diff --git a/src/widgets/kernel/qwidget.cpp b/src/widgets/kernel/qwidget.cpp index c6bd387a90..7cb0979c06 100644 --- a/src/widgets/kernel/qwidget.cpp +++ b/src/widgets/kernel/qwidget.cpp @@ -4836,7 +4836,7 @@ QGraphicsEffect *QWidget::graphicsEffect() const on this widget, QWidget will delete the existing effect before installing the new \a effect. - If \a effect is the installed on a different widget, setGraphicsEffect() will remove + If \a effect is the installed effect on a different widget, setGraphicsEffect() will remove the effect from the widget and install it on this widget. QWidget takes ownership of \a effect.