[TechDraw] Use function overloadin and avoid code repeat

This commit is contained in:
Benjamin Bræstrup Sayoc
2022-07-06 18:01:43 +02:00
committed by WandererFan
parent 77bab60f74
commit c53661014a
8 changed files with 8 additions and 23 deletions

View File

@@ -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)