[TechDraw] Remove uneeded redefinitions of inherited functions

This commit is contained in:
Benjamin Bræstrup Sayoc
2022-08-18 00:38:49 +02:00
committed by WandererFan
parent f5c5eec3bb
commit 8f067e02f3
8 changed files with 0 additions and 80 deletions

View File

@@ -76,16 +76,3 @@ QRectF QGIDimLines::boundingRect() const
{
return shape().controlPointRect().adjusted(-3, -3, 3, 3);
}
void QGIDimLines::paint(QPainter *painter, const QStyleOptionGraphicsItem *option, QWidget *widget)
{
QStyleOptionGraphicsItem myOption(*option);
myOption.state &= ~QStyle::State_Selected;
// painter->drawRect(boundingRect()); //good for debugging
// painter->drawPath(shape()); //good for debugging
QGIPrimPath::paint (painter, &myOption, widget);
}