Remove redundant scope for glyphRuns() default parameter

Noted in API review: Improves formatting and readability.

Pick-to: 6.5
Change-Id: I3a8f769899031410d00397a885f115adcca82f3b
Reviewed-by: Marc Mutz <marc.mutz@qt.io>
This commit is contained in:
Eskil Abrahamsen Blomfeldt 2023-01-10 08:46:24 +01:00
parent 6975dd38c1
commit 02effb2c37

View File

@ -166,7 +166,7 @@ public:
# else # else
QList<QGlyphRun> glyphRuns(int from = -1, QList<QGlyphRun> glyphRuns(int from = -1,
int length = -1, int length = -1,
GlyphRunRetrievalFlags flags = GlyphRunRetrievalFlag::DefaultRetrievalFlags) const; GlyphRunRetrievalFlags flags = DefaultRetrievalFlags) const;
# endif # endif
#endif #endif
@ -244,7 +244,7 @@ public:
# else # else
QList<QGlyphRun> glyphRuns(int from = -1, QList<QGlyphRun> glyphRuns(int from = -1,
int length = -1, int length = -1,
QTextLayout::GlyphRunRetrievalFlags flags = QTextLayout::GlyphRunRetrievalFlag::Default) const; QTextLayout::GlyphRunRetrievalFlags flags = QTextLayout::DefaultRetrievalFlags) const;
# endif # endif
#endif #endif