diff options
author | Bjørn Erik Nilsen <bjorn.nilsen@nokia.com> | 2009-08-04 17:12:50 (GMT) |
---|---|---|
committer | Bjørn Erik Nilsen <bjorn.nilsen@nokia.com> | 2009-08-04 17:12:50 (GMT) |
commit | d7166584025d90dda52a859987f4dfaae12d6004 (patch) | |
tree | 2647d0e4fccd12a16a3c1e4a14423c981896a74d /src/gui | |
parent | 00d1ee9ad0772fe7ee6d271141698030c4b0101a (diff) | |
download | Qt-d7166584025d90dda52a859987f4dfaae12d6004.zip Qt-d7166584025d90dda52a859987f4dfaae12d6004.tar.gz Qt-d7166584025d90dda52a859987f4dfaae12d6004.tar.bz2 |
Make tst_QGraphicsEffectSource happy.
Doh, storing a stale pointer is not a good idea ;)
Diffstat (limited to 'src/gui')
-rw-r--r-- | src/gui/graphicsview/qgraphicsscene.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gui/graphicsview/qgraphicsscene.cpp b/src/gui/graphicsview/qgraphicsscene.cpp index b4674a5..ddd2550 100644 --- a/src/gui/graphicsview/qgraphicsscene.cpp +++ b/src/gui/graphicsview/qgraphicsscene.cpp @@ -4358,6 +4358,7 @@ void QGraphicsScenePrivate::drawSubtreeRecursive(QGraphicsItem *item, QPainter * painter->setWorldTransform(*transformPtr); item->d_ptr->graphicsEffect->draw(painter, source); painter->setWorldTransform(restoreTransform); + sourced->info = 0; } else { draw(item, painter, viewTransform, transformPtr, exposedRegion, widget, opacity, effectTransform, wasDirtyParentSceneTransform, drawItem); |