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;
}

View File

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