summaryrefslogtreecommitdiff
path: root/src/gui
diff options
context:
space:
mode:
authorEskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@qt.io>2023-01-10 08:46:24 +0100
committerQt Cherry-pick Bot <cherrypick_bot@qt-project.org>2023-01-17 14:02:03 +0000
commit6c22f88112fa7430f7191e5606a7f1c4d343e885 (patch)
tree53353e16b68b45129f9f1588129dd806fc0ad1bf /src/gui
parentd5ce480b1dc1056c3bc407e78480f26945d267c9 (diff)
downloadqtbase-6c22f88112fa7430f7191e5606a7f1c4d343e885.tar.gz
Remove redundant scope for glyphRuns() default parameter
Noted in API review: Improves formatting and readability. Change-Id: I3a8f769899031410d00397a885f115adcca82f3b Reviewed-by: Marc Mutz <marc.mutz@qt.io> (cherry picked from commit 02effb2c37c8439baf2aaabe24fa635326fb6399) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
Diffstat (limited to 'src/gui')
-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