GCC warnings.
--HG-- branch : develop
This commit is contained in:
parent
c4ca41aa83
commit
a2aaf0ccff
|
@ -361,7 +361,7 @@ void VDxfEngine::drawEllipse(const QRectF & rect)
|
|||
FromPixel(majorX, varInsunits),
|
||||
FromPixel(majorY, varInsunits),
|
||||
FromPixel(0, varInsunits),
|
||||
FromPixel(majorY, varInsunits),
|
||||
FromPixel(ratio, varInsunits),
|
||||
0, 6.28 // startangle and endangle of ellipse in rad
|
||||
),
|
||||
DL_Attributes("0", getPenColor(), -1, getPenStyle(), 1.0));
|
||||
|
|
|
@ -157,8 +157,6 @@ QVariant VControlPointSpline::itemChange(QGraphicsItem::GraphicsItemChange chang
|
|||
|
||||
if (not freeLength)
|
||||
{
|
||||
qreal length = controlLine->line().length();
|
||||
qreal l2 = oldLine.length();
|
||||
newLine.setLength(oldLine.length());
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user