Fix error: 'combinedMatrix' is deprecated: Use combinedTransform() instead.

--HG--
branch : develop
This commit is contained in:
Roman Telezhynskyi 2019-07-24 15:54:02 +03:00
parent 8e481d6fea
commit 2563cd8161

View File

@ -63,7 +63,7 @@ void VNoBrushScalePathItem::paint(QPainter *painter, const QStyleOptionGraphicsI
* opposite of the item. * opposite of the item.
*/ */
QBrush brush = this->brush(); QBrush brush = this->brush();
brush.setMatrix(painter->combinedMatrix().inverted()); brush.setTransform(painter->combinedTransform().inverted());
this->setBrush(brush); this->setBrush(brush);
QPen toolPen = pen(); QPen toolPen = pen();