diff --git a/src/app/puzzle/vpuzzlelayout.cpp b/src/app/puzzle/vpuzzlelayout.cpp index d11f49f65..e1f7603cc 100644 --- a/src/app/puzzle/vpuzzlelayout.cpp +++ b/src/app/puzzle/vpuzzlelayout.cpp @@ -175,7 +175,7 @@ void VPuzzleLayout::SetFollowGrainline(FollowGrainline state) } //--------------------------------------------------------------------------------------------------------------------- -FollowGrainline VPuzzleLayout::SetFollowGrainline() +FollowGrainline VPuzzleLayout::GetFollowGrainline() const { return m_followGrainLine; } diff --git a/src/app/puzzle/vpuzzlelayout.h b/src/app/puzzle/vpuzzlelayout.h index ea55ee170..ba4821c46 100644 --- a/src/app/puzzle/vpuzzlelayout.h +++ b/src/app/puzzle/vpuzzlelayout.h @@ -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