Commit ac18f9f1 authored by Eike Ziller's avatar Eike Ziller
Browse files

Fix Help index filter after recent refactoring



It was incorrectly updating cached results, so e.g. shortening the
search string was not forcing a new search.

Change-Id: Ie55fce72b7363258195423f5686f013aeafc7d57
Reviewed-by: default avatarEike Ziller <eike.ziller@theqtcompany.com>
parent e40477cc
......@@ -129,6 +129,7 @@ QList<LocatorFilterEntry> HelpIndexFilter::matchesFor(QFutureInterface<LocatorFi
Utils::sort(keywords);
keywords << unsortedKeywords;
m_keywordCache = allresults;
m_searchTermCache = entry;
foreach (const QString &keyword, keywords)
entries.append(LocatorFilterEntry(this, keyword, QVariant(), m_icon));
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment