summaryrefslogtreecommitdiffstats
path: root/src/gui/graphicsview/qgraphicsscene_p.h
diff options
context:
space:
mode:
authorAndreas Aardal Hanssen <andreas.aardal.hanssen@nokia.com>2009-05-25 14:41:31 (GMT)
committerAndreas Aardal Hanssen <andreas.aardal.hanssen@nokia.com>2009-06-09 07:26:00 (GMT)
commit1873203f3a3c64a2eb59bbc555eb8edf6b30315a (patch)
tree4ee80c4d326fda8b1c34a893c98cd96a27ccbe84 /src/gui/graphicsview/qgraphicsscene_p.h
parentb5c401b9aa3481886ad9e2d7816680c97839004e (diff)
downloadQt-1873203f3a3c64a2eb59bbc555eb8edf6b30315a.zip
Qt-1873203f3a3c64a2eb59bbc555eb8edf6b30315a.tar.gz
Qt-1873203f3a3c64a2eb59bbc555eb8edf6b30315a.tar.bz2
Fix optimization flags and opacity.
Diffstat (limited to 'src/gui/graphicsview/qgraphicsscene_p.h')
-rw-r--r--src/gui/graphicsview/qgraphicsscene_p.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gui/graphicsview/qgraphicsscene_p.h b/src/gui/graphicsview/qgraphicsscene_p.h
index 369b0ef..0ac1765 100644
--- a/src/gui/graphicsview/qgraphicsscene_p.h
+++ b/src/gui/graphicsview/qgraphicsscene_p.h
@@ -57,6 +57,7 @@
#if !defined(QT_NO_GRAPHICSVIEW) || (QT_EDITION & QT_MODULE_GRAPHICSVIEW) != QT_MODULE_GRAPHICSVIEW
+#include "qgraphicsview.h"
#include "qgraphicsscene_bsp_p.h"
#include "qgraphicsitem_p.h"
@@ -254,7 +255,7 @@ public:
bool painterStateProtection);
void drawSubtreeRecursive(QGraphicsItem *item, QPainter *painter, const QTransform &viewTransform,
- const QRegion &exposedRegion, QWidget *widget);
+ const QRegion &exposedRegion, QWidget *widget, QGraphicsView::OptimizationFlags optimizationFlags);
QStyle *style;
QFont font;