summaryrefslogtreecommitdiffstats
path: root/src/gui/graphicsview/qgraphicsitem_p.h
diff options
context:
space:
mode:
authorBjoern Erik Nilsen <bjorn.nilsen@nokia.com>2009-03-02 15:22:20 (GMT)
committerAndreas Aardal Hanssen <andreas.aardal.hanssen@nokia.com>2009-04-06 11:49:38 (GMT)
commitab130a0019fadeff4622778ca9f8b3e630da14da (patch)
tree00b62727d1bcd965317ce0cd1dbbdaa43af3d05b /src/gui/graphicsview/qgraphicsitem_p.h
parentfac3c7b73ba2c6b39332445ae00b2fe26a578913 (diff)
downloadQt-ab130a0019fadeff4622778ca9f8b3e630da14da.zip
Qt-ab130a0019fadeff4622778ca9f8b3e630da14da.tar.gz
Qt-ab130a0019fadeff4622778ca9f8b3e630da14da.tar.bz2
Fixes: Speed up QGrahicsItemPrivate::effectiveOpacity().
RevBy: Andreas AutoTest: tst_QGraphicsItem::opacity still passes
Diffstat (limited to 'src/gui/graphicsview/qgraphicsitem_p.h')
-rw-r--r--src/gui/graphicsview/qgraphicsitem_p.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gui/graphicsview/qgraphicsitem_p.h b/src/gui/graphicsview/qgraphicsitem_p.h
index 07f6958..98fe6ed 100644
--- a/src/gui/graphicsview/qgraphicsitem_p.h
+++ b/src/gui/graphicsview/qgraphicsitem_p.h
@@ -133,6 +133,7 @@ public:
hasBoundingRegionGranularity(0),
flags(0),
hasOpacity(0),
+ hasEffectiveOpacity(0),
isWidget(0),
dirty(0),
dirtyChildren(0),
@@ -262,6 +263,7 @@ public:
// New 32 bytes
quint32 hasOpacity : 1;
+ quint32 hasEffectiveOpacity : 1;
quint32 isWidget : 1;
quint32 dirty : 1;
quint32 dirtyChildren : 1;