From 6c22f88112fa7430f7191e5606a7f1c4d343e885 Mon Sep 17 00:00:00 2001 From: Eskil Abrahamsen Blomfeldt Date: Tue, 10 Jan 2023 08:46:24 +0100 Subject: Remove redundant scope for glyphRuns() default parameter Noted in API review: Improves formatting and readability. Change-Id: I3a8f769899031410d00397a885f115adcca82f3b Reviewed-by: Marc Mutz (cherry picked from commit 02effb2c37c8439baf2aaabe24fa635326fb6399) Reviewed-by: Qt Cherry-pick Bot --- src/gui/text/qtextlayout.h | 4 ++-- 1 file 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 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 glyphRuns(int from = -1, int length = -1, - QTextLayout::GlyphRunRetrievalFlags flags = QTextLayout::GlyphRunRetrievalFlag::Default) const; + QTextLayout::GlyphRunRetrievalFlags flags = QTextLayout::DefaultRetrievalFlags) const; # endif #endif -- cgit v1.2.1