Cppcheck warning.

This commit is contained in:
Roman Telezhynskyi 2020-04-23 18:09:48 +03:00
parent 82ce2aadfe
commit e9f44d01e9
2 changed files with 3 additions and 3 deletions

View File

@ -175,7 +175,7 @@ void VPuzzleLayout::SetFollowGrainline(FollowGrainline state)
} }
//--------------------------------------------------------------------------------------------------------------------- //---------------------------------------------------------------------------------------------------------------------
FollowGrainline VPuzzleLayout::SetFollowGrainline() FollowGrainline VPuzzleLayout::GetFollowGrainline() const
{ {
return m_followGrainLine; return m_followGrainLine;
} }

View File

@ -135,7 +135,7 @@ public:
QMarginsF GetLayoutMarginsConverted() const; QMarginsF GetLayoutMarginsConverted() const;
void SetFollowGrainline(FollowGrainline state); void SetFollowGrainline(FollowGrainline state);
FollowGrainline SetFollowGrainline(); FollowGrainline GetFollowGrainline() const;
/** /**
* @brief SetPiecesGap sets the pieces gap to the given value, the unit has to be in Unit::Px * @brief SetPiecesGap sets the pieces gap to the given value, the unit has to be in Unit::Px