forked from qt-creator/qt-creator
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:
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user