summaryrefslogtreecommitdiff
path: root/src/plugins/help
diff options
context:
space:
mode:
authorkh1 <karsten.heimrich@nokia.com>2012-03-16 16:10:21 +0100
committerEike Ziller <eike.ziller@nokia.com>2012-03-16 16:26:38 +0100
commit126d0af4d67498d7f8158ce68ac0cffc56dc5036 (patch)
tree0432c9b947295064387432a3dab561029c6faea6 /src/plugins/help
parent38fe616d857234845b9169576433c28aa54fee89 (diff)
downloadqt-creator-126d0af4d67498d7f8158ce68ac0cffc56dc5036.tar.gz
Fix 38fe616d857234845b9169576433c28aa54fee89
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>
Diffstat (limited to 'src/plugins/help')
-rw-r--r--src/plugins/help/searchwidget.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/help/searchwidget.cpp b/src/plugins/help/searchwidget.cpp
index 236f25e639..6c8c056f00 100644
--- a/src/plugins/help/searchwidget.cpp
+++ b/src/plugins/help/searchwidget.cpp
@@ -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);
}