equal
deleted
inserted
replaced
381 |
381 |
382 void QGraphicsEffectSourcePrivate::invalidateCache(InvalidateReason reason) const |
382 void QGraphicsEffectSourcePrivate::invalidateCache(InvalidateReason reason) const |
383 { |
383 { |
384 if (m_cachedMode != QGraphicsEffect::PadToEffectiveBoundingRect |
384 if (m_cachedMode != QGraphicsEffect::PadToEffectiveBoundingRect |
385 && (reason == EffectRectChanged |
385 && (reason == EffectRectChanged |
386 || reason == TransformChanged |
386 || (reason == TransformChanged && m_cachedSystem == Qt::LogicalCoordinates))) { |
387 && m_cachedSystem == Qt::LogicalCoordinates)) |
387 return; |
388 return; |
388 } |
389 |
389 |
390 QPixmapCache::remove(m_cacheKey); |
390 QPixmapCache::remove(m_cacheKey); |
391 } |
391 } |
392 |
392 |
393 /*! |
393 /*! |