diff options
author | Andreas Aardal Hanssen <andreas.aardal.hanssen@nokia.com> | 2009-06-02 08:14:26 (GMT) |
---|---|---|
committer | Andreas Aardal Hanssen <andreas.aardal.hanssen@nokia.com> | 2009-06-09 07:30:28 (GMT) |
commit | bc3804458f29c8f13426ef53fcbacbf0877fc896 (patch) | |
tree | 1f7ac66da8b5a0aee29148ae30069fdc2c998875 /src/gui/graphicsview/qgraphicsview_p.h | |
parent | 80321b092fa35eb398f3aaf6a549f20fc4a94624 (diff) | |
download | Qt-bc3804458f29c8f13426ef53fcbacbf0877fc896.zip Qt-bc3804458f29c8f13426ef53fcbacbf0877fc896.tar.gz Qt-bc3804458f29c8f13426ef53fcbacbf0877fc896.tar.bz2 |
Fix QGraphicsScene::drawItems() to use the recursive path as well.
This change also changes the direct painting path to be opt-in as a
temporary testing measure to see what's broken when using the old code
path.
Diffstat (limited to 'src/gui/graphicsview/qgraphicsview_p.h')
-rw-r--r-- | src/gui/graphicsview/qgraphicsview_p.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gui/graphicsview/qgraphicsview_p.h b/src/gui/graphicsview/qgraphicsview_p.h index 637687b..814e476 100644 --- a/src/gui/graphicsview/qgraphicsview_p.h +++ b/src/gui/graphicsview/qgraphicsview_p.h @@ -167,6 +167,7 @@ public: void updateRect(const QRect &rect); void updateRegion(const QRegion ®ion); bool updateSceneSlotReimplementedChecked; + QRegion exposedRegion; QList<QGraphicsItem *> findItems(const QRegion &exposedRegion, bool *allItems) const; }; |