From cd5217cdbcf47683f1b63fd42b63d354ea014bda Mon Sep 17 00:00:00 2001 From: Ivailo Monev Date: Wed, 17 Feb 2021 00:01:51 +0200 Subject: [PATCH] make Qt::MatchFlag consistent Signed-off-by: Ivailo Monev --- src/core/global/qnamespace.h | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) diff --git a/src/core/global/qnamespace.h b/src/core/global/qnamespace.h index e743b7772..c64d20e50 100644 --- a/src/core/global/qnamespace.h +++ b/src/core/global/qnamespace.h @@ -229,7 +229,6 @@ public: WindowCloseButtonHint = 0x00080000, BypassGraphicsProxyWidget = 0x00100000 }; - Q_DECLARE_FLAGS(WindowFlags, WindowType) enum WindowState { @@ -1234,13 +1233,13 @@ public: MatchExactly = 0, MatchContains = 1, MatchStartsWith = 2, - MatchEndsWith = 3, - MatchRegExp = 4, - MatchWildcard = 5, - MatchFixedString = 8, - MatchCaseSensitive = 16, - MatchWrap = 32, - MatchRecursive = 64 + MatchEndsWith = 4, + MatchRegExp = 8, + MatchWildcard = 16, + MatchFixedString = 32, + MatchCaseSensitive = 64, + MatchWrap = 128, + MatchRecursive = 256 }; Q_DECLARE_FLAGS(MatchFlags, MatchFlag) -- 2.11.0