forked from qt-creator/qt-creator
Debugger: Remove some uses of QRegExp
Change-Id: Ie5bd429468ac0e68fb48f4916d143b5812f54d77 Reviewed-by: Christian Stenger <christian.stenger@qt.io>
This commit is contained in:
@@ -352,7 +352,7 @@ DebuggerItem DebuggerItemConfigWidget::item() const
|
||||
item.setWorkingDirectory(m_workingDirectoryChooser->filePath());
|
||||
item.setAutoDetected(m_autodetected);
|
||||
Abis abiList;
|
||||
const QStringList abis = m_abis->text().split(QRegExp("[^A-Za-z0-9-_]+"));
|
||||
const QStringList abis = m_abis->text().split(QRegularExpression("[^A-Za-z0-9-_]+"));
|
||||
for (const QString &a : abis) {
|
||||
if (a.isNull())
|
||||
continue;
|
||||
|
||||
@@ -29,7 +29,6 @@
|
||||
#include <QDateTime>
|
||||
#include <QDebug>
|
||||
#include <QHostAddress>
|
||||
#include <QRegExp>
|
||||
#include <QTimeZone>
|
||||
#include <QJsonArray>
|
||||
#include <QJsonDocument>
|
||||
|
||||
@@ -28,7 +28,6 @@
|
||||
|
||||
#include <QDebug>
|
||||
#include <QFile>
|
||||
#include <QRegExp>
|
||||
#include <QTextStream>
|
||||
|
||||
namespace Debugger {
|
||||
|
||||
@@ -40,7 +40,6 @@
|
||||
#include <QCheckBox>
|
||||
#include <QDebug>
|
||||
#include <QDir>
|
||||
#include <QRegExp>
|
||||
|
||||
#include <QDialogButtonBox>
|
||||
#include <QFormLayout>
|
||||
|
||||
Reference in New Issue
Block a user