From 02effb2c37c8439baf2aaabe24fa635326fb6399 Mon Sep 17 00:00:00 2001 From: Eskil Abrahamsen Blomfeldt Date: Tue, 10 Jan 2023 08:46:24 +0100 Subject: [PATCH] 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 --- 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 4f587c18a1b..5b1b64d7ee9 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