examples/effects/blurpicker/blureffect.cpp
changeset 3 41300fa6a67c
parent 0 1918ee327afb
child 4 3b1da2848fc7
equal deleted inserted replaced
2:56cd8111b7f7 3:41300fa6a67c
    60 {
    60 {
    61     const_cast<BlurEffect *>(this)->adjustForItem();
    61     const_cast<BlurEffect *>(this)->adjustForItem();
    62     return QGraphicsBlurEffect::boundingRect();
    62     return QGraphicsBlurEffect::boundingRect();
    63 }
    63 }
    64 
    64 
    65 void BlurEffect::draw(QPainter *painter, QGraphicsEffectSource *source)
    65 void BlurEffect::draw(QPainter *painter)
    66 {
    66 {
    67     adjustForItem();
    67     adjustForItem();
    68     QGraphicsBlurEffect::draw(painter, source);
    68     QGraphicsBlurEffect::draw(painter);
    69 }
    69 }