Cppcheck warnings.
This commit is contained in:
parent
f06c85753b
commit
33865a06b5
|
@ -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;
|
||||
}
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue
Block a user