Remove QRegExp dependencies and mentions

Change-Id: I399f8980f56eda5d60b554aa942bf045ab91e0d6
Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
This commit is contained in:
Lars Knoll 2020-03-18 16:25:01 +01:00
parent 3151c510e8
commit 2e0070d42c
2 changed files with 2 additions and 1 deletions

View File

@ -2150,7 +2150,6 @@ bool QDir::match(const QStringList &filters, const QString &fileName)
{
for (QStringList::ConstIterator sit = filters.constBegin(); sit != filters.constEnd(); ++sit) {
// Insensitive exact match
// (see Notes for QRegExp Users in QRegularExpression's documentation)
QRegularExpression rx(QRegularExpression::wildcardToRegularExpression(*sit),
QRegularExpression::CaseInsensitiveOption);
if (rx.match(fileName).hasMatch())

View File

@ -93,7 +93,9 @@
#include "qdir_p.h"
#include "qabstractfileengine_p.h"
#ifdef QT_BOOTSTRAPPED
#include <QtCore/qregexp.h>
#endif
#include <QtCore/qset.h>
#include <QtCore/qstack.h>
#include <QtCore/qvariant.h>