Details
-
Bug
-
Resolution: Unresolved
-
P2: Important
-
None
-
6.10
-
e97a1fdad (dev), ccabe30c7 (6.10), e4b3b9f50 (dev)
Description
The setter is taking a QPointF so saving/restoring them does not work correctly:
QPointF oldBO = p->brushOrigin(); p->setBrushOrigin(vopt->rect.topLeft()); p->fillRect(vopt->rect, vopt->backgroundBrush); p->setBrushOrigin(oldBO);
This should be fixed in Qt7
Attachments
Gerrit Reviews
For Gerrit Dashboard: QTBUG-137885 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
654260,4 | Avoid using QPainter::brushOrigin() to save and restore the origin | dev | qt/qtbase | Status: MERGED | +2 | 0 |
654826,5 | QPainter: add brushOriginF() | dev | qt/qtbase | Status: MERGED | +2 | 0 |
654921,2 | Avoid using QPainter::brushOrigin() to save and restore the origin | 6.10 | qt/qtbase | Status: MERGED | +2 | 0 |