summaryrefslogtreecommitdiffstats
path: root/src/corelib/itemmodels
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/corelib/itemmodels
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/corelib/itemmodels')
-rw-r--r--src/corelib/itemmodels/qabstractitemmodel.cpp7
1 files changed, 0 insertions, 7 deletions
diff --git a/src/corelib/itemmodels/qabstractitemmodel.cpp b/src/corelib/itemmodels/qabstractitemmodel.cpp
index 41bdaa2ac5..57a6c2f239 100644
--- a/src/corelib/itemmodels/qabstractitemmodel.cpp
+++ b/src/corelib/itemmodels/qabstractitemmodel.cpp
@@ -2408,13 +2408,6 @@ QModelIndexList QAbstractItemModel::match(const QModelIndex &start, int role,
QString t = v.toString();
switch (matchType) {
-#if QT_DEPRECATED_SINCE(5, 15)
- case Qt::MatchRegExp:
- if (QRegExp(text, cs).exactMatch(t))
- result.append(idx);
- break;
-#endif
-
#if QT_CONFIG(regularexpression)
case Qt::MatchRegularExpression:
Q_FALLTHROUGH();