Cppcheck warning.

(grafted from 472ee616f82f6ff5e6b2d0ed4adcc2aa76c12ea1)

--HG--
branch : develop
This commit is contained in:
Roman Telezhynskyi 2017-09-13 09:27:52 +03:00
parent 15fc06fbf1
commit 851044d37e

View File

@ -257,7 +257,7 @@ QVector<QPointF> VEllipticalArc::GetPoints() const
}
QPainterPath path;
IsFlipped() ? path.arcTo(box, startAngle, sweepAngle) : path.arcTo(box, startAngle, sweepAngle);
path.arcTo(box, startAngle, sweepAngle);
QTransform t;
t.translate(GetCenter().x(), GetCenter().y());