From 6975dd38c14a2473d7997dd65c3789b843078409 Mon Sep 17 00:00:00 2001 From: Eskil Abrahamsen Blomfeldt Date: Tue, 10 Jan 2023 08:41:11 +0100 Subject: Explicit type for new enum type Noted in API review. Pick-to: 6.5 Change-Id: I98ec47f4c934156990d67363b69ccd33617661de Reviewed-by: Marc Mutz --- src/gui/text/qtextlayout.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/gui/text/qtextlayout.h') diff --git a/src/gui/text/qtextlayout.h b/src/gui/text/qtextlayout.h index 60ccb2ef27..4f587c18a1 100644 --- a/src/gui/text/qtextlayout.h +++ b/src/gui/text/qtextlayout.h @@ -69,7 +69,7 @@ class QTextOption; class Q_GUI_EXPORT QTextLayout { public: - enum GlyphRunRetrievalFlag { + enum GlyphRunRetrievalFlag : quint16 { RetrieveGlyphIndexes = 0x1, RetrieveGlyphPositions = 0x2, RetrieveStringIndexes = 0x4, -- cgit v1.2.3