Fix build errors.
This commit is contained in:
parent
2c58867ed9
commit
283a62f580
|
@ -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();
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue
Block a user