diff options
author | Paul Wicking <paul.wicking@qt.io> | 2021-06-16 09:00:45 +0200 |
---|---|---|
committer | Qt Cherry-pick Bot <cherrypick_bot@qt-project.org> | 2021-06-21 13:50:41 +0000 |
commit | a1a051f792afb11fe9610b5a4f369e8e494075a3 (patch) | |
tree | 0041999c6a0085d484831dc77c6eacbb1ede567c /src | |
parent | cbb3572fa65a8bd0310cf1be9940057c9aafbf7e (diff) |
Doc: Add note to Qt::MatchFlags about implementation dependent behavior
Fixes: QTBUG-94374
Change-Id: I7f426c92bf0434998d0793eedd405c1a682a28d9
Reviewed-by: Giuseppe D'Angelo <giuseppe.dangelo@kdab.com>
(cherry picked from commit c92c3c19e8ba02eeceff882b71571a076bef504d)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
Diffstat (limited to 'src')
-rw-r--r-- | src/corelib/global/qnamespace.qdoc | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/corelib/global/qnamespace.qdoc b/src/corelib/global/qnamespace.qdoc index 2b25f145df..17396432d5 100644 --- a/src/corelib/global/qnamespace.qdoc +++ b/src/corelib/global/qnamespace.qdoc @@ -2845,6 +2845,11 @@ \value MatchRecursive Searches the entire hierarchy. \omitvalue MatchTypeMask + \note Qt::MatchExactly, Qt::MatchContains, Qt::MatchStartsWith, + Qt::MatchEndsWith, Qt::MatchRegularExpression, Qt::MatchWildcard, and + Qt::MatchFixedString are mutually exclusive. The behavior achieved by + setting several of them in a Qt::MatchFlags argument is undefined. + \sa QString::compare(), QRegularExpression */ |