summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexis Menard <alexis.menard@nokia.com>2010-03-31 06:36:16 (GMT)
committerAlexis Menard <alexis.menard@nokia.com>2010-03-31 06:39:07 (GMT)
commita795a55cf2796a44cf30e002962ebad0588ef740 (patch)
treeb4f4b68966833aad03354d3655ad8d46924111e9
parent8ee60825b4fa864ef0f826e6452a6340ed8ebb86 (diff)
downloadQt-a795a55cf2796a44cf30e002962ebad0588ef740.zip
Qt-a795a55cf2796a44cf30e002962ebad0588ef740.tar.gz
Qt-a795a55cf2796a44cf30e002962ebad0588ef740.tar.bz2
QGraphicsEffect : Don't rely on the exposedArea when rendering the item into the cache.
I forgot to change this line during fcb738161efc965e91c3d528c31ac77d3a05ac64 Task-number:QTBUG-9496 Reviewed-by:sroedal
-rw-r--r--src/gui/graphicsview/qgraphicsitem.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/graphicsview/qgraphicsitem.cpp b/src/gui/graphicsview/qgraphicsitem.cpp
index e5471b0..20c9faa 100644
--- a/src/gui/graphicsview/qgraphicsitem.cpp
+++ b/src/gui/graphicsview/qgraphicsitem.cpp
@@ -11054,7 +11054,7 @@ QPixmap QGraphicsItemEffectSourcePrivate::pixmap(Qt::CoordinateSystem system, QP
&newEffectTransform, false, true);
} else if (deviceCoordinates) {
// Device coordinates with info.
- scened->draw(item, &pixmapPainter, info->viewTransform, info->transformPtr, info->exposedRegion,
+ scened->draw(item, &pixmapPainter, info->viewTransform, info->transformPtr, 0,
info->widget, info->opacity, &effectTransform, info->wasDirtySceneTransform,
info->drawItem);
} else {