summaryrefslogtreecommitdiffstats
path: root/examples
diff options
context:
space:
mode:
authorBjørn Erik Nilsen <bjorn.nilsen@nokia.com>2009-07-31 07:15:23 +0200
committerBjørn Erik Nilsen <bjorn.nilsen@nokia.com>2009-07-31 07:15:23 +0200
commitefdd45526ba5bcdaf2d6e95467347873a1f8c8aa (patch)
tree183d1db2520a079d733f11d29686a9586ac4b139 /examples
parente241d607aba775d1ed0c8ff537ac69b9bacb18ed (diff)
Infinite recursion in examples/graphicsview/customshader
Diffstat (limited to 'examples')
-rw-r--r--examples/graphicsview/customshader/blureffect.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/graphicsview/customshader/blureffect.cpp b/examples/graphicsview/customshader/blureffect.cpp
index 042eea311..2b5237b51 100644
--- a/examples/graphicsview/customshader/blureffect.cpp
+++ b/examples/graphicsview/customshader/blureffect.cpp
@@ -59,7 +59,7 @@ void BlurEffect::adjustForItem()
QRectF BlurEffect::boundingRectFor(const QRectF &rect) const
{
const_cast<BlurEffect *>(this)->adjustForItem();
- return QGraphicsBlurEffect::boundingRect();
+ return QGraphicsBlurEffect::boundingRectFor(rect);
}
void BlurEffect::draw(QPainter *painter, QGraphicsEffectSource *source)