forked from qt-creator/qt-creator
Git: Use correct flags type in grep
Change-Id: Iebd65827518576b48ff8f401612baae8350fe6a3 Reviewed-by: Eike Ziller <eike.ziller@qt.io> Reviewed-by: Tobias Hunger <tobias.hunger@qt.io>
This commit is contained in:
committed by
Orgad Shaneh
parent
c879a78c03
commit
86732dbdc0
@@ -112,7 +112,7 @@ public:
|
||||
QVector<Match> matches;
|
||||
if (m_parameters.flags & FindRegularExpression) {
|
||||
const QRegularExpression::PatternOptions patternOptions =
|
||||
(m_parameters.flags & QTextDocument::FindCaseSensitively)
|
||||
(m_parameters.flags & FindCaseSensitively)
|
||||
? QRegularExpression::NoPatternOption : QRegularExpression::CaseInsensitiveOption;
|
||||
regexp.setPattern(m_parameters.text);
|
||||
regexp.setPatternOptions(patternOptions);
|
||||
|
Reference in New Issue
Block a user