diff options
author | Bjørn Erik Nilsen <bjorn.nilsen@nokia.com> | 2010-01-27 10:58:34 (GMT) |
---|---|---|
committer | Bjørn Erik Nilsen <bjorn.nilsen@nokia.com> | 2010-01-27 10:58:34 (GMT) |
commit | 878bf8b1dde10e28d9acd91002fd7b4e2a7a64e0 (patch) | |
tree | 3d6c27e1beeb054f3d78d4300f7058a23c72051f /src/gui/effects | |
parent | ec90f6ed28ec735ce963c4257ea1095ecbc6c6ba (diff) | |
download | Qt-878bf8b1dde10e28d9acd91002fd7b4e2a7a64e0.zip Qt-878bf8b1dde10e28d9acd91002fd7b4e2a7a64e0.tar.gz Qt-878bf8b1dde10e28d9acd91002fd7b4e2a7a64e0.tar.bz2 |
Compiler warning.
Diffstat (limited to 'src/gui/effects')
-rw-r--r-- | src/gui/effects/qgraphicseffect.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/effects/qgraphicseffect.cpp b/src/gui/effects/qgraphicseffect.cpp index ad23df3..10ef5ea 100644 --- a/src/gui/effects/qgraphicseffect.cpp +++ b/src/gui/effects/qgraphicseffect.cpp @@ -383,9 +383,9 @@ void QGraphicsEffectSourcePrivate::invalidateCache(InvalidateReason reason) cons { if (m_cachedMode != QGraphicsEffect::PadToEffectiveBoundingRect && (reason == EffectRectChanged - || reason == TransformChanged - && m_cachedSystem == Qt::LogicalCoordinates)) + || (reason == TransformChanged && m_cachedSystem == Qt::LogicalCoordinates))) { return; + } QPixmapCache::remove(m_cacheKey); } |