From c92c3c19e8ba02eeceff882b71571a076bef504d Mon Sep 17 00:00:00 2001 From: Paul Wicking Date: Wed, 16 Jun 2021 09:00:45 +0200 Subject: [PATCH] Doc: Add note to Qt::MatchFlags about implementation dependent behavior Pick-to: 6.2 6.1 5.15 Fixes: QTBUG-94374 Change-Id: I7f426c92bf0434998d0793eedd405c1a682a28d9 Reviewed-by: Giuseppe D'Angelo --- src/corelib/global/qnamespace.qdoc | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/corelib/global/qnamespace.qdoc b/src/corelib/global/qnamespace.qdoc index 2b25f145df9..17396432d5a 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 */