[TechDraw] Remove uneeded redefinitions of inherited functions

This commit is contained in:
Benjamin Bræstrup Sayoc
2022-08-07 20:08:21 +02:00
committed by WandererFan
parent 93fb6b999c
commit b498e85f43
37 changed files with 13 additions and 230 deletions

View File

@@ -119,12 +119,3 @@ QPainterPath QGIEdge::shape() const
outline = stroker.createStroke(path());
return outline;
}
void QGIEdge::paint ( QPainter * painter, const QStyleOptionGraphicsItem * option, QWidget * widget) {
QStyleOptionGraphicsItem myOption(*option);
myOption.state &= ~QStyle::State_Selected;
//~ painter->drawRect(boundingRect()); //good for debugging
QGIPrimPath::paint (painter, &myOption, widget);
}