CMakePM: Replace some QRegExp by QRegularExpression

Task-number: QTCREATORBUG-24098
Change-Id: Ib40d97cf2b39105e7db9f886c125a2430119d14d
Reviewed-by: hjk <hjk@qt.io>
This commit is contained in:
Christian Stenger
2020-06-16 08:54:25 +02:00
parent 328c0cf809
commit d8b1fcb9d3
2 changed files with 22 additions and 21 deletions

View File

@@ -33,7 +33,6 @@
#include <utils/optional.h>
#include <QDir>
#include <QRegExp>
#include <QRegularExpression>
namespace CMakeProjectManager {
@@ -56,8 +55,8 @@ private:
Utils::optional<QDir> m_sourceDirectory;
ProjectExplorer::Task m_lastTask;
QRegExp m_commonError;
QRegExp m_nextSubError;
QRegularExpression m_commonError;
QRegularExpression m_nextSubError;
QRegularExpression m_locationLine;
bool m_skippedFirstEmptyLine = false;
int m_lines = 0;