OSDN Git Service

QGraphicsItemPaintInfo cleanup
authorIvailo Monev <xakepa10@laimg.moc>
Sat, 13 Jul 2019 21:36:44 +0000 (21:36 +0000)
committerIvailo Monev <xakepa10@laimg.moc>
Sat, 13 Jul 2019 21:36:44 +0000 (21:36 +0000)
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
src/gui/graphicsview/qgraphicsitem_p.h

index 69858e4..dfcf27c 100644 (file)
@@ -634,8 +634,8 @@ struct QGraphicsItemPaintInfo
     QStyleOptionGraphicsItem *option;
     QPainter *painter;
     qreal opacity;
-    quint32 wasDirtySceneTransform : 1;
-    quint32 drawItem : 1;
+    bool wasDirtySceneTransform;
+    bool drawItem;
 };
 
 #ifndef QT_NO_GRAPHICSEFFECT