Cppcheck warnings.

This commit is contained in:
Roman Telezhynskyi 2020-05-09 13:25:23 +03:00
parent f06c85753b
commit 33865a06b5
2 changed files with 4 additions and 4 deletions

View File

@ -81,7 +81,7 @@ void VPuzzlePiece::SetCuttingLine(const QVector<QPointF> &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;
}

View File

@ -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