forked from qt-creator/qt-creator
QmlJS: Replace QRegExp by QRegularExpression
Task-number: QTCREATORBUG-24098 Change-Id: I70157bcbee67cf493e28b5bad97248877a25e5c6 Reviewed-by: hjk <hjk@qt.io>
This commit is contained in:
@@ -28,7 +28,7 @@
|
||||
#include <qmljs/qmljs_global.h>
|
||||
#include <qmljs/qmljslineinfo.h>
|
||||
|
||||
#include <QRegExp>
|
||||
#include <QRegularExpression>
|
||||
|
||||
QT_FORWARD_DECLARE_CLASS(QTextBlock)
|
||||
|
||||
@@ -67,7 +67,7 @@ private:
|
||||
int ppCommentOffset;
|
||||
|
||||
private:
|
||||
QRegExp caseOrDefault;
|
||||
QRegularExpression caseOrDefault;
|
||||
};
|
||||
|
||||
} // namespace QmlJS
|
||||
|
||||
Reference in New Issue
Block a user