diff --git a/src/app/puzzle/vpuzzlepiece.cpp b/src/app/puzzle/vpuzzlepiece.cpp index 21daa67a2..5a1bc0d7d 100644 --- a/src/app/puzzle/vpuzzlepiece.cpp +++ b/src/app/puzzle/vpuzzlepiece.cpp @@ -81,7 +81,7 @@ void VPuzzlePiece::SetCuttingLine(const QVector &cuttingLine) //--------------------------------------------------------------------------------------------------------------------- -bool VPuzzlePiece::GetShowSeamLine() +bool VPuzzlePiece::GetShowSeamLine() const { return m_showSeamline; } @@ -93,7 +93,7 @@ void VPuzzlePiece::SetShowSeamLine(bool value) } //--------------------------------------------------------------------------------------------------------------------- -bool VPuzzlePiece::GetPieceMirrored() +bool VPuzzlePiece::GetPieceMirrored() const { return m_mirrorPiece; } diff --git a/src/app/puzzle/vpuzzlepiece.h b/src/app/puzzle/vpuzzlepiece.h index 55d0f3fd8..b126deeb2 100644 --- a/src/app/puzzle/vpuzzlepiece.h +++ b/src/app/puzzle/vpuzzlepiece.h @@ -69,7 +69,7 @@ public: * @brief GetShowSeamLine returns wether the seam line of the piece has to be shown or not * @return true if the seamline has to be shown */ - bool GetShowSeamLine(); + bool GetShowSeamLine() const; /** * @brief SetShowSeamLine sets wether the seam line of the piece has to be shown or not @@ -81,7 +81,7 @@ public: * @brief GetMirrorPiece returns wether the piece is mirrored or not * @return true if the piece is mirrored */ - bool GetPieceMirrored(); + bool GetPieceMirrored() const; /** * @brief SetMirrorPiece sets wether the piece is mirrored or not