Clang warnings.

--HG--
branch : develop
This commit is contained in:
Roman Telezhynskyi 2016-05-20 19:39:13 +03:00
parent 5e6752793e
commit 64f72c69d5
3 changed files with 5 additions and 5 deletions

View file

@ -59,12 +59,12 @@ public:
void SetFormulaRadius (const QString &formula, qreal value);
qreal GetRadius () const;
qreal GetLength () const;
virtual qreal GetLength () const Q_DECL_OVERRIDE;
QPointF GetP1() const;
QPointF GetP2 () const;
QVector<QPointF> GetPoints () const;
virtual QVector<QPointF> GetPoints () const Q_DECL_OVERRIDE;
QPointF CutArc (const qreal &length, VArc &arc1, VArc &arc2) const;
QPointF CutArc (const qreal &length) const;

View file

@ -66,12 +66,12 @@ public:
void SetFormulaRadius2 (const QString &formula, qreal value);
qreal GetRadius2 () const;
qreal GetLength () const;
virtual qreal GetLength () const Q_DECL_OVERRIDE;
QPointF GetP1() const;
QPointF GetP2() const;
QVector<QPointF> GetPoints () const;
virtual QVector<QPointF> GetPoints () const Q_DECL_OVERRIDE;
QPointF CutArc (const qreal &length, VEllipticalArc &arc1, VEllipticalArc &arc2) const;
QPointF CutArc (const qreal &length) const;

View file

@ -244,7 +244,7 @@ QGraphicsPathItem *VisToolRotation::GetCurve(quint32 i, const QColor &color)
}
else
{
auto curve = InitItem<QGraphicsPathItem>(supportColor, this);
auto curve = InitItem<QGraphicsPathItem>(color, this);
curves.append(curve);
return curve;
}