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); void SetFormulaRadius (const QString &formula, qreal value);
qreal GetRadius () const; qreal GetRadius () const;
qreal GetLength () const; virtual qreal GetLength () const Q_DECL_OVERRIDE;
QPointF GetP1() const; QPointF GetP1() const;
QPointF GetP2 () 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, VArc &arc1, VArc &arc2) const;
QPointF CutArc (const qreal &length) const; QPointF CutArc (const qreal &length) const;

View File

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

View File

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