summaryrefslogtreecommitdiffstats
path: root/src/gui/graphicsview/qgraphicsview_p.h
diff options
context:
space:
mode:
authorAndreas Aardal Hanssen <andreas.aardal.hanssen@nokia.com>2009-06-02 08:14:26 (GMT)
committerAndreas Aardal Hanssen <andreas.aardal.hanssen@nokia.com>2009-06-09 07:30:28 (GMT)
commitbc3804458f29c8f13426ef53fcbacbf0877fc896 (patch)
tree1f7ac66da8b5a0aee29148ae30069fdc2c998875 /src/gui/graphicsview/qgraphicsview_p.h
parent80321b092fa35eb398f3aaf6a549f20fc4a94624 (diff)
downloadQt-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.h1
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 &region);
bool updateSceneSlotReimplementedChecked;
+ QRegion exposedRegion;
QList<QGraphicsItem *> findItems(const QRegion &exposedRegion, bool *allItems) const;
};