diff --git a/src/corelib/io/qurl.h b/src/corelib/io/qurl.h index a78fbfcd3f9..f777a1a6294 100644 --- a/src/corelib/io/qurl.h +++ b/src/corelib/io/qurl.h @@ -130,7 +130,7 @@ public: }; // encoding / toString values - enum UrlFormattingOption { + enum UrlFormattingOption : unsigned int { None = 0x0, RemoveScheme = 0x1, RemovePassword = 0x2, @@ -147,7 +147,7 @@ public: NormalizePathSegments = 0x1000 }; - enum ComponentFormattingOption { + enum ComponentFormattingOption : unsigned int { PrettyDecoded = 0x000000, EncodeSpaces = 0x100000, EncodeUnicode = 0x200000,