VCS: Replace QRegExp with QRegularExpression in VcsBaseEditor

Change-Id: I8e8a6649e441597e29e88506d494ec69260bebd1
Reviewed-by: Samuel Gaist <samuel.gaist@idiap.ch>
Reviewed-by: André Hartmann <aha_1980@gmx.de>
This commit is contained in:
Orgad Shaneh
2020-02-19 23:26:24 +02:00
committed by Orgad Shaneh
parent e445f7aac3
commit a83f0c5d74
16 changed files with 102 additions and 93 deletions

View File

@@ -132,7 +132,7 @@ class GitReflogEditorWidget : public GitEditorWidget
public:
GitReflogEditorWidget()
{
setLogEntryPattern(QRegExp("^([0-9a-f]{8,}) [^}]*\\}: .*$"));
setLogEntryPattern("^([0-9a-f]{8,}) [^}]*\\}: .*$");
}
QString revisionSubject(const QTextBlock &inBlock) const override