Skip to content

Commit

Permalink
Remove redundant scope for glyphRuns() default parameter
Browse files Browse the repository at this point in the history
Noted in API review: Improves formatting and readability.

Pick-to: 6.5
Change-Id: I3a8f769899031410d00397a885f115adcca82f3b
Reviewed-by: Marc Mutz <[email protected]>
eskilblomfeldt committed Jan 17, 2023
1 parent 6975dd3 commit 02effb2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/gui/text/qtextlayout.h
Original file line number Diff line number Diff line change
@@ -166,7 +166,7 @@ class Q_GUI_EXPORT QTextLayout
# else
QList<QGlyphRun> glyphRuns(int from = -1,
int length = -1,
GlyphRunRetrievalFlags flags = GlyphRunRetrievalFlag::DefaultRetrievalFlags) const;
GlyphRunRetrievalFlags flags = DefaultRetrievalFlags) const;
# endif
#endif

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

0 comments on commit 02effb2

Please sign in to comment.