diff --git a/src/libs/vlayout/vabstractpiece.cpp b/src/libs/vlayout/vabstractpiece.cpp index 1c4ff66c4..5c48a7d81 100644 --- a/src/libs/vlayout/vabstractpiece.cpp +++ b/src/libs/vlayout/vabstractpiece.cpp @@ -992,7 +992,7 @@ bool VAbstractPiece::IsEkvPointOnLine(const VSAPoint &iPoint, const VSAPoint &pr } //--------------------------------------------------------------------------------------------------------------------- -QPainterPath VAbstractPiece::PlaceLabelImgPath(const PlaceLabelImg &img) const +QPainterPath VAbstractPiece::PlaceLabelImgPath(const PlaceLabelImg &img) { QPainterPath path; foreach(const QPolygonF &p, img) diff --git a/src/libs/vlayout/vabstractpiece.h b/src/libs/vlayout/vabstractpiece.h index fff7e847b..e3347c483 100644 --- a/src/libs/vlayout/vabstractpiece.h +++ b/src/libs/vlayout/vabstractpiece.h @@ -195,7 +195,7 @@ protected: static bool IsEkvPointOnLine(const QPointF &iPoint, const QPointF &prevPoint, const QPointF &nextPoint); static bool IsEkvPointOnLine(const VSAPoint &iPoint, const VSAPoint &prevPoint, const VSAPoint &nextPoint); - QPainterPath PlaceLabelImgPath(const PlaceLabelImg &img) const; + static QPainterPath PlaceLabelImgPath(const PlaceLabelImg &img); private: QSharedDataPointer d;