[TD]fix BRect on empty text items

This commit is contained in:
wandererfan
2019-08-13 15:55:57 -04:00
committed by WandererFan
parent 178520fb4a
commit 3c4700d05b
4 changed files with 24 additions and 8 deletions

View File

@@ -76,7 +76,8 @@ void QGCustomSvg::paint ( QPainter * painter, const QStyleOptionGraphicsItem * o
QStyleOptionGraphicsItem myOption(*option);
myOption.state &= ~QStyle::State_Selected;
//painter->drawRect(boundingRect()); //good for debugging
// painter->setPen(Qt::yellow);
// painter->drawRect(boundingRect()); //good for debugging
QGraphicsSvgItem::paint (painter, &myOption, widget);
}