diff options
author | Andreas Aardal Hanssen <andreas.aardal.hanssen@nokia.com> | 2009-05-25 14:41:31 (GMT) |
---|---|---|
committer | Andreas Aardal Hanssen <andreas.aardal.hanssen@nokia.com> | 2009-06-09 07:26:00 (GMT) |
commit | 1873203f3a3c64a2eb59bbc555eb8edf6b30315a (patch) | |
tree | 4ee80c4d326fda8b1c34a893c98cd96a27ccbe84 /src/gui/graphicsview/qgraphicsview.cpp | |
parent | b5c401b9aa3481886ad9e2d7816680c97839004e (diff) | |
download | Qt-1873203f3a3c64a2eb59bbc555eb8edf6b30315a.zip Qt-1873203f3a3c64a2eb59bbc555eb8edf6b30315a.tar.gz Qt-1873203f3a3c64a2eb59bbc555eb8edf6b30315a.tar.bz2 |
Fix optimization flags and opacity.
Diffstat (limited to 'src/gui/graphicsview/qgraphicsview.cpp')
-rw-r--r-- | src/gui/graphicsview/qgraphicsview.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gui/graphicsview/qgraphicsview.cpp b/src/gui/graphicsview/qgraphicsview.cpp index 2459c49..40c84db 100644 --- a/src/gui/graphicsview/qgraphicsview.cpp +++ b/src/gui/graphicsview/qgraphicsview.cpp @@ -3435,7 +3435,8 @@ void QGraphicsView::paintEvent(QPaintEvent *event) const char *directEnv = getenv("QGRAPHICSVIEW_DIRECT"); bool overrideDirectPaint = directEnv && atoi(directEnv) != 0; if (overrideDirectPaint || (d->optimizationFlags & BypassDrawItems)) { - d->scene->d_func()->drawSubtreeRecursive(0, &painter, viewTransform, exposedRegion, viewport()); + d->scene->d_func()->drawSubtreeRecursive(0, &painter, viewTransform, exposedRegion, + viewport(), d->optimizationFlags); } else { // Find all exposed items bool allItems = false; |