summaryrefslogtreecommitdiffstats
path: root/src/widgets
diff options
context:
space:
mode:
Diffstat (limited to 'src/widgets')
-rw-r--r--src/widgets/graphicsview/qgraphicsitem.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/widgets/graphicsview/qgraphicsitem.cpp b/src/widgets/graphicsview/qgraphicsitem.cpp
index a94752e7a6..27cd4e62ca 100644
--- a/src/widgets/graphicsview/qgraphicsitem.cpp
+++ b/src/widgets/graphicsview/qgraphicsitem.cpp
@@ -2712,7 +2712,8 @@ QGraphicsEffect *QGraphicsItem::graphicsEffect() const
/*!
Sets \a effect as the item's effect. If there already is an effect installed
on this item, QGraphicsItem will delete the existing effect before installing
- the new \a effect.
+ 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
the effect from the item and install it on this item.