diff options
author | Bjørn Erik Nilsen <bjorn.nilsen@nokia.com> | 2009-07-29 06:08:16 (GMT) |
---|---|---|
committer | Bjørn Erik Nilsen <bjorn.nilsen@nokia.com> | 2009-07-29 08:24:58 (GMT) |
commit | 80bd3a13ee6f42a39d3d3c2985a648e2229778f6 (patch) | |
tree | f153a6a4efff6bf0e77f758460a0181d426c4b4b /src/gui/graphicsview/qgraphicsscene.cpp | |
parent | 3f71875547a0d0857d9d44cefe59f99c1d1984c9 (diff) | |
download | Qt-80bd3a13ee6f42a39d3d3c2985a648e2229778f6.zip Qt-80bd3a13ee6f42a39d3d3c2985a648e2229778f6.tar.gz Qt-80bd3a13ee6f42a39d3d3c2985a648e2229778f6.tar.bz2 |
QGraphicsEffect cleanup.
Diffstat (limited to 'src/gui/graphicsview/qgraphicsscene.cpp')
-rw-r--r-- | src/gui/graphicsview/qgraphicsscene.cpp | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/gui/graphicsview/qgraphicsscene.cpp b/src/gui/graphicsview/qgraphicsscene.cpp index 9ce02a2..7b02883 100644 --- a/src/gui/graphicsview/qgraphicsscene.cpp +++ b/src/gui/graphicsview/qgraphicsscene.cpp @@ -4304,10 +4304,6 @@ void QGraphicsScenePrivate::drawSubtreeRecursive(QGraphicsItem *item, QPainter * ENSURE_TRANSFORM_PTR; if (item->d_ptr->graphicsEffect && item->d_ptr->graphicsEffect->isEnabled()) { - if (item->type() == 7) { - item->d_ptr->graphicsEffect->setSourcePixmap(static_cast<QGraphicsPixmapItem*>(item) - ->pixmap()); - } ENSURE_TRANSFORM_PTR; QGraphicsItemPaintInfo info(viewTransform, transformPtr, exposedRegion, widget, &styleOptionTmp, painter, opacity, wasDirtyParentSceneTransform, drawItem); |