From 851044d37e886fd83ae3714a262066a3ee4e9a51 Mon Sep 17 00:00:00 2001 From: Roman Telezhynskyi Date: Wed, 13 Sep 2017 09:27:52 +0300 Subject: [PATCH] Cppcheck warning. (grafted from 472ee616f82f6ff5e6b2d0ed4adcc2aa76c12ea1) --HG-- branch : develop --- src/libs/vgeometry/vellipticalarc.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libs/vgeometry/vellipticalarc.cpp b/src/libs/vgeometry/vellipticalarc.cpp index 20ffd9249..cc2a22c92 100644 --- a/src/libs/vgeometry/vellipticalarc.cpp +++ b/src/libs/vgeometry/vellipticalarc.cpp @@ -257,7 +257,7 @@ QVector 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());