summaryrefslogtreecommitdiffstats
path: root/src/widgets/util/qcompleter.cpp
diff options
context:
space:
mode:
authorLars Knoll <lars.knoll@qt.io>2020-03-18 16:56:26 +0100
committerLars Knoll <lars.knoll@qt.io>2020-03-30 11:33:07 +0100
commit3532c0256d4a64f8493f9773f25b6ce7f12b2230 (patch)
treea66dccf6c1abe577f89df4e924d4c035a368ab01 /src/widgets/util/qcompleter.cpp
parent2e0070d42c0bff5074eb9494ba0e561b91f0622b (diff)
Make MatchRegExp an alias to MatchRegularExpression
All matching happens using QRegularExpression now. Change-Id: I10bfcefbf4d9c79d235242e3e05116cdf7af02d1 Reviewed-by: Shawn Rutledge <shawn.rutledge@qt.io>
Diffstat (limited to 'src/widgets/util/qcompleter.cpp')
-rw-r--r--src/widgets/util/qcompleter.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/widgets/util/qcompleter.cpp b/src/widgets/util/qcompleter.cpp
index 72fa557790..c02649f20c 100644
--- a/src/widgets/util/qcompleter.cpp
+++ b/src/widgets/util/qcompleter.cpp
@@ -757,7 +757,7 @@ int QUnsortedModelEngine::buildIndices(const QString& str, const QModelIndex& pa
case Qt::MatchExactly:
case Qt::MatchFixedString:
case Qt::MatchCaseSensitive:
- case Qt::MatchRegExp:
+ case Qt::MatchRegularExpression:
case Qt::MatchWildcard:
case Qt::MatchWrap:
case Qt::MatchRecursive: