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/qgraphicsscene_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/qgraphicsscene_p.h')
-rw-r--r-- | src/gui/graphicsview/qgraphicsscene_p.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/graphicsview/qgraphicsscene_p.h b/src/gui/graphicsview/qgraphicsscene_p.h index 4facec3..2a036e3 100644 --- a/src/gui/graphicsview/qgraphicsscene_p.h +++ b/src/gui/graphicsview/qgraphicsscene_p.h @@ -257,7 +257,7 @@ public: void drawSubtreeRecursive(QGraphicsItem *item, QPainter *painter, const QTransform &parentTransform, const QTransform &viewTransform, const QRegion &exposedRegion, QWidget *widget, QGraphicsView::OptimizationFlags optimizationFlags, - qreal parentOpacity = qreal(1.0)); + QList<QGraphicsItem *> *topLevelItems = 0, qreal parentOpacity = qreal(1.0)); void markDirty(QGraphicsItem *item, const QRectF &rect = QRectF(), bool invalidateChildren = false, bool maybeDirtyClipPath = false, bool force = false, bool ignoreOpacity = false); void processDirtyItemsRecursive(QGraphicsItem *item, const QTransform &); |