diff options
-rw-r--r-- | src/quick/scenegraph/adaptations/software/qsgsoftwareinternalrectanglenode.cpp | 2 | ||||
-rw-r--r-- | src/quick/scenegraph/adaptations/software/qsgsoftwareinternalrectanglenode_p.h | 6 |
2 files changed, 3 insertions, 5 deletions
diff --git a/src/quick/scenegraph/adaptations/software/qsgsoftwareinternalrectanglenode.cpp b/src/quick/scenegraph/adaptations/software/qsgsoftwareinternalrectanglenode.cpp index e651eadac2..4866cf3bf1 100644 --- a/src/quick/scenegraph/adaptations/software/qsgsoftwareinternalrectanglenode.cpp +++ b/src/quick/scenegraph/adaptations/software/qsgsoftwareinternalrectanglenode.cpp @@ -15,9 +15,9 @@ QSGSoftwareInternalRectangleNode::QSGSoftwareInternalRectangleNode() , m_topRightRadius(0) , m_bottomLeftRadius(0) , m_bottomRightRadius(0) + , m_devicePixelRatio(1) , m_vertical(true) , m_cornerPixmapIsDirty(true) - , m_devicePixelRatio(1) , m_isTopLeftRadiusSet(false) , m_isTopRightRadiusSet(false) , m_isBottomLeftRadiusSet(false) diff --git a/src/quick/scenegraph/adaptations/software/qsgsoftwareinternalrectanglenode_p.h b/src/quick/scenegraph/adaptations/software/qsgsoftwareinternalrectanglenode_p.h index 2d02c9ad22..39c05ba98e 100644 --- a/src/quick/scenegraph/adaptations/software/qsgsoftwareinternalrectanglenode_p.h +++ b/src/quick/scenegraph/adaptations/software/qsgsoftwareinternalrectanglenode_p.h @@ -69,13 +69,11 @@ private: qreal m_bottomRightRadius; QPen m_pen; QBrush m_brush; - bool m_vertical; - - bool m_cornerPixmapIsDirty; QPixmap m_cornerPixmap; - qreal m_devicePixelRatio; + uint m_vertical : 1; + uint m_cornerPixmapIsDirty : 1; uint m_isTopLeftRadiusSet : 1; uint m_isTopRightRadiusSet : 1; uint m_isBottomLeftRadiusSet : 1; |