diff options
author | Bjørn Erik Nilsen <bjorn.nilsen@nokia.com> | 2009-08-07 08:51:11 (GMT) |
---|---|---|
committer | Bjørn Erik Nilsen <bjorn.nilsen@nokia.com> | 2009-08-07 08:51:11 (GMT) |
commit | 656551566c50705139535e36d5e5f3a784ab0fdd (patch) | |
tree | 6e155abd58050df644baf333ef9d5b65ab355523 /src/gui/graphicsview | |
parent | 7e2f40b8b98bab3cb5fd5343e496c3a268ce1c65 (diff) | |
download | Qt-656551566c50705139535e36d5e5f3a784ab0fdd.zip Qt-656551566c50705139535e36d5e5f3a784ab0fdd.tar.gz Qt-656551566c50705139535e36d5e5f3a784ab0fdd.tar.bz2 |
Fixes GCC compiler warning.
warning: suggest parentheses around assignment used as truth value
Diffstat (limited to 'src/gui/graphicsview')
-rw-r--r-- | src/gui/graphicsview/qgraphicsitem.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/graphicsview/qgraphicsitem.cpp b/src/gui/graphicsview/qgraphicsitem.cpp index 6fe4477..240d791 100644 --- a/src/gui/graphicsview/qgraphicsitem.cpp +++ b/src/gui/graphicsview/qgraphicsitem.cpp @@ -4816,7 +4816,7 @@ void QGraphicsItem::update(const QRectF &rect) do { if (item->d_ptr->graphicsEffect) item->d_ptr->notifyInvalidated = 1; - } while (item = item->d_ptr->parent); + } while ((item = item->d_ptr->parent)); if (CacheMode(d_ptr->cacheMode) != NoCache) { QGraphicsItemCache *cache = d_ptr->extraItemCache(); |