Refactoring. Call parent's method.

--HG--
branch : develop
This commit is contained in:
Roman Telezhynskyi 2015-12-04 21:47:44 +02:00
parent 2b0e358cdd
commit dc25101d78
2 changed files with 2 additions and 2 deletions

View File

@ -218,7 +218,7 @@ QVariant VToolDoublePoint::itemChange(QGraphicsItem::GraphicsItemChange change,
} }
} }
return QGraphicsItem::itemChange(change, value); return QGraphicsPathItem::itemChange(change, value);
} }
//--------------------------------------------------------------------------------------------------------------------- //---------------------------------------------------------------------------------------------------------------------

View File

@ -297,7 +297,7 @@ QVariant VToolSinglePoint::itemChange(QGraphicsItem::GraphicsItemChange change,
} }
} }
return QGraphicsItem::itemChange(change, value); return QGraphicsEllipseItem::itemChange(change, value);
} }
//--------------------------------------------------------------------------------------------------------------------- //---------------------------------------------------------------------------------------------------------------------