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