From ac18f9f1d89d7ea84fa0e614248d97439948129e Mon Sep 17 00:00:00 2001 From: Eike Ziller <eike.ziller@theqtcompany.com> Date: Mon, 12 Jan 2015 13:12:36 +0100 Subject: [PATCH] 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: Eike Ziller <eike.ziller@theqtcompany.com> --- src/plugins/help/helpindexfilter.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/plugins/help/helpindexfilter.cpp b/src/plugins/help/helpindexfilter.cpp index 2c6ea45e1e..28cfb08fce 100644 --- a/src/plugins/help/helpindexfilter.cpp +++ b/src/plugins/help/helpindexfilter.cpp @@ -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)); -- GitLab