Fix error: 'combinedMatrix' is deprecated: Use combinedTransform() instead.
--HG-- branch : develop
This commit is contained in:
parent
8e481d6fea
commit
2563cd8161
|
@ -63,7 +63,7 @@ void VNoBrushScalePathItem::paint(QPainter *painter, const QStyleOptionGraphicsI
|
|||
* opposite of the item.
|
||||
*/
|
||||
QBrush brush = this->brush();
|
||||
brush.setMatrix(painter->combinedMatrix().inverted());
|
||||
brush.setTransform(painter->combinedTransform().inverted());
|
||||
this->setBrush(brush);
|
||||
|
||||
QPen toolPen = pen();
|
||||
|
|
Loading…
Reference in New Issue
Block a user