Cppcheck warning.
--HG-- branch : develop
This commit is contained in:
parent
218c2cc518
commit
4eaf556342
|
@ -472,11 +472,11 @@ QVector<QPainterPath> VPiece::CurvesPainterPath(const VContainer *data) const
|
|||
//---------------------------------------------------------------------------------------------------------------------
|
||||
QPainterPath VPiece::MainPathPath(const VContainer *data) const
|
||||
{
|
||||
return MainPathPath(MainPathPoints(data));
|
||||
return VPiece::MainPathPath(MainPathPoints(data));
|
||||
}
|
||||
|
||||
//---------------------------------------------------------------------------------------------------------------------
|
||||
QPainterPath VPiece::MainPathPath(const QVector<QPointF> &points) const
|
||||
QPainterPath VPiece::MainPathPath(const QVector<QPointF> &points)
|
||||
{
|
||||
QPainterPath path;
|
||||
|
||||
|
|
|
@ -77,7 +77,8 @@ public:
|
|||
QVector<QPainterPath> CurvesPainterPath(const VContainer *data) const;
|
||||
|
||||
QPainterPath MainPathPath(const VContainer *data) const;
|
||||
QPainterPath MainPathPath(const QVector<QPointF> &points) const;
|
||||
static QPainterPath MainPathPath(const QVector<QPointF> &points);
|
||||
|
||||
QPainterPath SeamAllowancePath(const VContainer *data) const;
|
||||
QPainterPath SeamAllowancePath(const QVector<QPointF> &points) const;
|
||||
QPainterPath PassmarksPath(const VContainer *data,
|
||||
|
|
|
@ -63,7 +63,7 @@ void VisToolPiece::RefreshGeometry()
|
|||
{
|
||||
m_cachedCurvesPath = m_piece.CurvesPainterPath(Visualization::data);
|
||||
m_cachedMainPathPoints = m_piece.MainPathPoints(Visualization::data);
|
||||
m_cachedMainPath = m_piece.MainPathPath(m_cachedMainPathPoints);
|
||||
m_cachedMainPath = VPiece::MainPathPath(m_cachedMainPathPoints);
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue
Block a user