[TechDraw] Use function overloadin and avoid code repeat
This commit is contained in:
committed by
WandererFan
parent
77bab60f74
commit
c53661014a
@@ -65,7 +65,7 @@ QGCustomText::QGCustomText(QGraphicsItem* parent) :
|
||||
|
||||
void QGCustomText::centerAt(QPointF centerPos)
|
||||
{
|
||||
centerAt(centerPos.x(),centerPos.y());
|
||||
centerAt(centerPos.x(), centerPos.y());
|
||||
}
|
||||
|
||||
void QGCustomText::centerAt(double cX, double cY)
|
||||
|
||||
Reference in New Issue
Block a user