summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorYoann Lopes <yoann.lopes@nokia.com>2010-06-30 14:57:41 (GMT)
committerYoann Lopes <yoann.lopes@nokia.com>2010-06-30 15:00:29 (GMT)
commit7d80cd1f66fa6331c926674870d2a0dbe2921e77 (patch)
treea1fd4bd140e06cc67722b1553de9c049f7172a75
parent32b1c124b4f90568ce1753fb52617df038bbbf1f (diff)
downloadQt-7d80cd1f66fa6331c926674870d2a0dbe2921e77.zip
Qt-7d80cd1f66fa6331c926674870d2a0dbe2921e77.tar.gz
Qt-7d80cd1f66fa6331c926674870d2a0dbe2921e77.tar.bz2
Fixes the documentation of QGraphicsEffect::update().
Reflects now the real behavior of this function. Related to a false bug report (QT-3481). Reviewed-by: sroedal
-rw-r--r--src/gui/effects/qgraphicseffect.cpp9
1 files changed, 3 insertions, 6 deletions
diff --git a/src/gui/effects/qgraphicseffect.cpp b/src/gui/effects/qgraphicseffect.cpp
index 5e4e49e..0029017 100644
--- a/src/gui/effects/qgraphicseffect.cpp
+++ b/src/gui/effects/qgraphicseffect.cpp
@@ -488,13 +488,10 @@ void QGraphicsEffect::setEnabled(bool enable)
*/
/*!
- Schedules a redraw of the source. Call this function whenever the source
- needs to be redrawn.
-
- This convenience function is equivalent to calling
- QGraphicsEffectSource::update().
+ Schedules a redraw of the effect. Call this function whenever the effect
+ needs to be redrawn. This function does not trigger a redraw of the source.
- \sa updateBoundingRect(), QGraphicsEffectSource::update()
+ \sa updateBoundingRect()
*/
void QGraphicsEffect::update()
{