diff options
author | Ariya Hidayat <ariya.hidayat@nokia.com> | 2009-06-29 14:37:57 (GMT) |
---|---|---|
committer | Ariya Hidayat <ariya.hidayat@nokia.com> | 2009-06-29 14:37:57 (GMT) |
commit | 5b52ab8161d7731c7728d176b13a4a28480bc1db (patch) | |
tree | 84c06382620201e262622937ee639254a6cd4d19 /src/gui/graphicsview/qgraphicsscene.cpp | |
parent | 9733307cf64ec665cded191675a424b02c39ab38 (diff) | |
download | Qt-5b52ab8161d7731c7728d176b13a4a28480bc1db.zip Qt-5b52ab8161d7731c7728d176b13a4a28480bc1db.tar.gz Qt-5b52ab8161d7731c7728d176b13a4a28480bc1db.tar.bz2 |
Fix drawing with effect after the recursive-drawing refactoring.
Diffstat (limited to 'src/gui/graphicsview/qgraphicsscene.cpp')
-rw-r--r-- | src/gui/graphicsview/qgraphicsscene.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/graphicsview/qgraphicsscene.cpp b/src/gui/graphicsview/qgraphicsscene.cpp index 3f6404b..1557c2c 100644 --- a/src/gui/graphicsview/qgraphicsscene.cpp +++ b/src/gui/graphicsview/qgraphicsscene.cpp @@ -5420,7 +5420,7 @@ void QGraphicsScenePrivate::drawSubtreeRecursive(QGraphicsItem *item, QPainter * painter->setClipPath(item->shape(), Qt::IntersectClip); painter->setOpacity(opacity); - if (!item->d_ptr->cacheMode && !item->d_ptr->isWidget) + if (!item->d_ptr->cacheMode && !item->d_ptr->isWidget && !item->d_ptr->hasEffect) item->paint(painter, &styleOptionTmp, widget); else drawItemHelper(item, painter, &styleOptionTmp, widget, painterStateProtection); |