diff --git a/src/gui/text/qtextoption.cpp b/src/gui/text/qtextoption.cpp index b6beadbe914..ea1b556f081 100644 --- a/src/gui/text/qtextoption.cpp +++ b/src/gui/text/qtextoption.cpp @@ -267,8 +267,7 @@ QList QTextOption::tabs() const \value ShowTabsAndSpaces Visualize spaces with little dots, and tabs with little arrows. Non-breaking spaces are shown differently to breaking spaces. \value ShowLineAndParagraphSeparators Visualize line and paragraph separators with appropriate symbol characters. - \value ShowDocumentTerminator Visualize the end of the document with a section sign. This enum value was added - in Qt 5.7. + \value [since 5.7] ShowDocumentTerminator Visualize the end of the document with a section sign. \value AddSpaceForLineAndParagraphSeparators While determining the line-break positions take into account the space added for drawing a separator character. \value SuppressColors Suppress all color changes in the character formats (except the main selection). diff --git a/src/gui/text/qtextoption.h b/src/gui/text/qtextoption.h index dcff41584f0..f0a385ff50f 100644 --- a/src/gui/text/qtextoption.h +++ b/src/gui/text/qtextoption.h @@ -62,7 +62,7 @@ public: WordWrap, ManualWrap, WrapAnywhere, - WrapAtWordBoundaryOrAnywhere + WrapAtWordBoundaryOrAnywhere, }; inline void setWrapMode(WrapMode wrap) { wordWrap = wrap; } inline WrapMode wrapMode() const { return static_cast(wordWrap); } @@ -73,7 +73,7 @@ public: AddSpaceForLineAndParagraphSeparators = 0x4, SuppressColors = 0x8, ShowDocumentTerminator = 0x10, - IncludeTrailingSpaces = 0x80000000 + IncludeTrailingSpaces = 0x80000000, }; Q_DECLARE_FLAGS(Flags, Flag) inline void setFlags(Flags flags);