forked from qt-creator/qt-creator
Fix 38fe616d85
Obviously it helps to add the search term even if it does not contain special characters. Change-Id: If32e3e0b8b64fde99a3247dd6eee29928995591f Reviewed-by: Eike Ziller <eike.ziller@nokia.com>
This commit is contained in:
@@ -174,8 +174,8 @@ void SearchWidget::search() const
|
||||
if (word.contains(regExp)) {
|
||||
foreach (const QString &charToEscape, charsToEscapeList)
|
||||
word.replace(charToEscape, escapeChar + charToEscape);
|
||||
escapedQuery.wordList.append(word);
|
||||
}
|
||||
escapedQuery.wordList.append(word);
|
||||
}
|
||||
escapedQueries.append(escapedQuery);
|
||||
}
|
||||
|
Reference in New Issue
Block a user