LanguageClient: do not delay requesting symbols in the locator filter

This qualifies as a user interaction and the results should be collected
as fast as possible.

Change-Id: Ia83893fab87c253b9939cfee928aa12866087aa0
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
This commit is contained in:
David Schulz
2023-02-24 07:32:23 +01:00
parent ac2d5d761d
commit 9655c88862

View File

@@ -171,7 +171,7 @@ void DocumentLocatorFilter::prepareSearch(const QString &/*entry*/)
QMutexLocker locker(&m_mutex);
if (m_symbolCache && !m_currentSymbols.has_value()) {
locker.unlock();
m_symbolCache->requestSymbols(m_currentUri, Schedule::Delayed);
m_symbolCache->requestSymbols(m_currentUri, Schedule::Now);
}
}