summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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)