Clang warnings.
--HG-- branch : develop
This commit is contained in:
parent
5e6752793e
commit
64f72c69d5
|
@ -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;
|
||||||
|
|
|
@ -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;
|
||||||
|
|
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user