Document how to remove a QGraphicsEffect.

You can remove an effect by setting 0, but this wasn't documented.

Change-Id: I2d86875d8554cb26b4d88b8ce04b4daa9792c5d5
Reviewed-by: Casper van Donderen <casper.vandonderen@nokia.com>
This commit is contained in:
Richard Moore 2012-08-26 13:34:15 +01:00 committed by Qt by Nokia
parent 1e97dbaf6c
commit 7f324c4979

View File

@ -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.