summaryrefslogtreecommitdiffstats
path: root/src/gui/graphicsview/qgraphicsscene.cpp
diff options
context:
space:
mode:
authorBjørn Erik Nilsen <bjorn.nilsen@nokia.com>2009-07-28 14:57:35 (GMT)
committerBjørn Erik Nilsen <bjorn.nilsen@nokia.com>2009-07-29 06:43:32 (GMT)
commitf55576b670c69b69c5f1140661cf20cbda96853a (patch)
tree88d6c6bdd478b360eb6aa07e3f9cb9cb74523f91 /src/gui/graphicsview/qgraphicsscene.cpp
parent72debacc7f57b9ea9115e549170341a9ad11bf0f (diff)
downloadQt-f55576b670c69b69c5f1140661cf20cbda96853a.zip
Qt-f55576b670c69b69c5f1140661cf20cbda96853a.tar.gz
Qt-f55576b670c69b69c5f1140661cf20cbda96853a.tar.bz2
add support for passing arbitrary painters into
QGraphicsEffectSource::draw
Diffstat (limited to 'src/gui/graphicsview/qgraphicsscene.cpp')
-rw-r--r--src/gui/graphicsview/qgraphicsscene.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/graphicsview/qgraphicsscene.cpp b/src/gui/graphicsview/qgraphicsscene.cpp
index 3a899ff..99aa347 100644
--- a/src/gui/graphicsview/qgraphicsscene.cpp
+++ b/src/gui/graphicsview/qgraphicsscene.cpp
@@ -4310,7 +4310,7 @@ void QGraphicsScenePrivate::drawSubtreeRecursive(QGraphicsItem *item, QPainter *
}
ENSURE_TRANSFORM_PTR;
QGraphicsItemPaintInfo info(viewTransform, transformPtr, exposedRegion, widget, &styleOptionTmp,
- opacity, wasDirtyParentSceneTransform, drawItem);
+ painter, opacity, wasDirtyParentSceneTransform, drawItem);
QGraphicsEffectSource *source = item->d_ptr->graphicsEffect->d_func()->source;
QGraphicsItemEffectSourcePrivate *sourced = static_cast<QGraphicsItemEffectSourcePrivate *>
(source->d_func());