Fix build errors.

This commit is contained in:
Roman Telezhynskyi 2024-02-24 12:20:50 +02:00
parent 2c58867ed9
commit 283a62f580
2 changed files with 3 additions and 3 deletions

View File

@ -217,7 +217,7 @@ void VPPiece::ClearTransformations()
}
//---------------------------------------------------------------------------------------------------------------------
void VPPiece::SetPosition(QPointF point) const
void VPPiece::SetPosition(QPointF point)
{
QTransform matrix = GetMatrix();
const QPointF offset = MappedDetailBoundingRect().topLeft();

View File

@ -65,13 +65,13 @@ public:
* @brief SetPosition Sets the position of the piece, in relation to the origin of the scene
* @param point the point where to set the piece
*/
void SetPosition(QPointF point) const;
void SetPosition(QPointF point);
/**
* @brief GetPosition Returns the position of the piece
* @return the position of the piece
*/
auto QPointF GetPosition() -> QPointF;
auto GetPosition() const -> QPointF;
/**
* @brief RotateToGrainline rotates the piece to follow the grainline