TechDraw: Replace C cast

This commit is contained in:
marioalexis
2022-06-17 12:14:34 -03:00
committed by Chris Hennes
parent 734dfc47c6
commit d206116c3d
9 changed files with 26 additions and 26 deletions

View File

@@ -365,8 +365,8 @@ void QGILeaderLine::draw()
setFlag(QGraphicsItem::ItemIsMovable, false);
else
setFlag(QGraphicsItem::ItemIsMovable, true);
m_lineStyle = (Qt::PenStyle) vp->LineStyle.getValue();
m_lineStyle = static_cast<Qt::PenStyle>(vp->LineStyle.getValue());
double baseScale = featLeader->getBaseScale();
double x = Rez::guiX(featLeader->X.getValue());
double y = - Rez::guiX(featLeader->Y.getValue());