diff --git a/src/libs/vlayout/vposition.h b/src/libs/vlayout/vposition.h index b089ad62f..431532503 100644 --- a/src/libs/vlayout/vposition.h +++ b/src/libs/vlayout/vposition.h @@ -53,6 +53,9 @@ struct VPositionData bool isOriginPaperOrientationPortrait{true}; }; +QT_WARNING_PUSH +QT_WARNING_DISABLE_GCC("-Weffc++") + class VPosition { public: @@ -111,6 +114,8 @@ private: void FindBestPosition(); }; +QT_WARNING_POP + //--------------------------------------------------------------------------------------------------------------------- /** * @brief VPosition::FabricGrainline return fabric gainline accoding to paper orientation