diff options
author | Bjørn Erik Nilsen <bjorn.nilsen@nokia.com> | 2009-08-06 08:56:58 (GMT) |
---|---|---|
committer | Bjørn Erik Nilsen <bjorn.nilsen@nokia.com> | 2009-08-06 12:03:59 (GMT) |
commit | a0c12d54b8eef537ab8051e48b6d04617a91d170 (patch) | |
tree | 411ec1ccd07dafd4c19ed850fe581c15945e5064 /src/gui/graphicsview/qgraphicsitem_p.h | |
parent | 4909d2661d47a28c0ee932d9dfb5b8c47a376044 (diff) | |
download | Qt-a0c12d54b8eef537ab8051e48b6d04617a91d170.zip Qt-a0c12d54b8eef537ab8051e48b6d04617a91d170.tar.gz Qt-a0c12d54b8eef537ab8051e48b6d04617a91d170.tar.bz2 |
Fix wrong transform when applying multiple QGraphicsEffects.
Diffstat (limited to 'src/gui/graphicsview/qgraphicsitem_p.h')
-rw-r--r-- | src/gui/graphicsview/qgraphicsitem_p.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/gui/graphicsview/qgraphicsitem_p.h b/src/gui/graphicsview/qgraphicsitem_p.h index 76c9dab..0d6946f 100644 --- a/src/gui/graphicsview/qgraphicsitem_p.h +++ b/src/gui/graphicsview/qgraphicsitem_p.h @@ -517,14 +517,16 @@ struct QGraphicsItemPrivate::TransformData { struct QGraphicsItemPaintInfo { inline QGraphicsItemPaintInfo(const QTransform *const xform1, const QTransform *const xform2, + const QTransform *const xform3, QRegion *r, QWidget *w, QStyleOptionGraphicsItem *opt, QPainter *p, qreal o, bool b1, bool b2) - : viewTransform(xform1), transformPtr(xform2), exposedRegion(r), widget(w), + : viewTransform(xform1), transformPtr(xform2), effectTransform(xform3), exposedRegion(r), widget(w), option(opt), painter(p), opacity(o), wasDirtySceneTransform(b1), drawItem(b2) {} const QTransform *viewTransform; const QTransform *transformPtr; + const QTransform *effectTransform; QRegion *exposedRegion; QWidget *widget; QStyleOptionGraphicsItem *option; |