summaryrefslogtreecommitdiffstats
path: root/examples
diff options
context:
space:
mode:
authorBjørn Erik Nilsen <bjorn.nilsen@nokia.com>2009-07-31 05:15:23 (GMT)
committerBjørn Erik Nilsen <bjorn.nilsen@nokia.com>2009-07-31 05:15:23 (GMT)
commitefdd45526ba5bcdaf2d6e95467347873a1f8c8aa (patch)
tree183d1db2520a079d733f11d29686a9586ac4b139 /examples
parente241d607aba775d1ed0c8ff537ac69b9bacb18ed (diff)
downloadQt-efdd45526ba5bcdaf2d6e95467347873a1f8c8aa.zip
Qt-efdd45526ba5bcdaf2d6e95467347873a1f8c8aa.tar.gz
Qt-efdd45526ba5bcdaf2d6e95467347873a1f8c8aa.tar.bz2
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 042eea3..2b5237b 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)