diff --git a/src/libs/vlayout/vposition.cpp b/src/libs/vlayout/vposition.cpp index a0ed76286..a7fb66d6f 100644 --- a/src/libs/vlayout/vposition.cpp +++ b/src/libs/vlayout/vposition.cpp @@ -414,7 +414,7 @@ void VPosition::CombineEdges(VLayoutPiece &detail, const QLineF &globalEdge, int } //--------------------------------------------------------------------------------------------------------------------- -void VPosition::RotateEdges(VLayoutPiece &detail, const QLineF &globalEdge, int dEdge, qreal angle) const +void VPosition::RotateEdges(VLayoutPiece &detail, const QLineF &globalEdge, int dEdge, qreal angle) { QLineF detailEdge = detail.LayoutEdge(dEdge); // Now we move detail to position near to global contour edge. diff --git a/src/libs/vlayout/vposition.h b/src/libs/vlayout/vposition.h index 431532503..54e8e570c 100644 --- a/src/libs/vlayout/vposition.h +++ b/src/libs/vlayout/vposition.h @@ -104,7 +104,7 @@ private: bool SheetContains(const QRectF &rect) const; void CombineEdges(VLayoutPiece &detail, const QLineF &globalEdge, int dEdge); - void RotateEdges(VLayoutPiece &detail, const QLineF &globalEdge, int dEdge, qreal angle) const; + static void RotateEdges(VLayoutPiece &detail, const QLineF &globalEdge, int dEdge, qreal angle); void Rotate(int number); void FollowGrainline();