OSDN Git Service

make Qt::MatchFlag consistent
authorIvailo Monev <xakepa10@gmail.com>
Tue, 16 Feb 2021 22:01:51 +0000 (00:01 +0200)
committerIvailo Monev <xakepa10@gmail.com>
Tue, 16 Feb 2021 22:01:51 +0000 (00:01 +0200)
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
src/core/global/qnamespace.h

index e743b77..c64d20e 100644 (file)
@@ -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)