summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@qt.io>2023-01-10 08:46:24 +0100
committerEskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@qt.io>2023-01-17 11:59:36 +0100
commit02effb2c37c8439baf2aaabe24fa635326fb6399 (patch)
tree129b426798122462e508a3cf40e4ec8d960bf588
parent6975dd38c14a2473d7997dd65c3789b843078409 (diff)
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>
-rw-r--r--src/gui/text/qtextlayout.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/text/qtextlayout.h b/src/gui/text/qtextlayout.h
index 4f587c18a1..5b1b64d7ee 100644
--- a/src/gui/text/qtextlayout.h
+++ b/src/gui/text/qtextlayout.h
@@ -166,7 +166,7 @@ public:
# 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 @@ public:
# 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