Explicit type for new enum type

Noted in API review.

Change-Id: I98ec47f4c934156990d67363b69ccd33617661de
Reviewed-by: Marc Mutz <marc.mutz@qt.io>
(cherry picked from commit 6975dd38c14a2473d7997dd65c3789b843078409)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
This commit is contained in:
Eskil Abrahamsen Blomfeldt 2023-01-10 08:41:11 +01:00 committed by Qt Cherry-pick Bot
parent a0f953f019
commit db97cdf7e9

View File

@ -69,7 +69,7 @@ class QTextOption;
class Q_GUI_EXPORT QTextLayout
{
public:
enum GlyphRunRetrievalFlag {
enum GlyphRunRetrievalFlag : quint16 {
RetrieveGlyphIndexes = 0x1,
RetrieveGlyphPositions = 0x2,
RetrieveStringIndexes = 0x4,