diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/quick/scenegraph/adaptations/software/qsgsoftwareinternalrectanglenode.cpp | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/quick/scenegraph/adaptations/software/qsgsoftwareinternalrectanglenode.cpp b/src/quick/scenegraph/adaptations/software/qsgsoftwareinternalrectanglenode.cpp index 4866cf3bf1..ff0ef50b32 100644 --- a/src/quick/scenegraph/adaptations/software/qsgsoftwareinternalrectanglenode.cpp +++ b/src/quick/scenegraph/adaptations/software/qsgsoftwareinternalrectanglenode.cpp @@ -355,7 +355,11 @@ void QSGSoftwareInternalRectangleNode::paint(QPainter *painter) bool QSGSoftwareInternalRectangleNode::isOpaque() const { - if (m_radius > 0.0f) + if (m_radius > 0.0f + || m_topLeftRadius > 0.0f + || m_topRightRadius > 0.0f + || m_bottomRightRadius > 0.0f + || m_bottomLeftRadius > 0.0f) return false; if (m_color.alpha() < 255) return false; |