[TechDraw] Remove uneeded redefinitions of inherited functions
This commit is contained in:
committed by
WandererFan
parent
f5c5eec3bb
commit
8f067e02f3
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user