diff --git a/src/libs/vlayout/vtextmanager.h b/src/libs/vlayout/vtextmanager.h index c81d984da..a4356bc68 100644 --- a/src/libs/vlayout/vtextmanager.h +++ b/src/libs/vlayout/vtextmanager.h @@ -44,6 +44,9 @@ class VAbstractPattern; #define MIN_FONT_SIZE 5 #define MAX_FONT_SIZE 128 +QT_WARNING_PUSH +QT_WARNING_DISABLE_GCC("-Warray-bounds") + /** * @brief The TextLine struct holds the information about one text line */ @@ -62,6 +65,8 @@ private: static const quint16 classVersion; }; +QT_WARNING_POP + /** * @brief The VTextManager class this class is used to determine whether a collection of * text lines can fit into specified bounding box and with what font size