QbsPM: Be less aggressive when providing proposals

Change-Id: I3826651030a3ec1c8293625c4c99c0ee31a97a5f
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
This commit is contained in:
Christian Stenger
2024-06-14 14:27:53 +02:00
parent 70941abad9
commit 4ff0f93abc

View File

@@ -149,7 +149,7 @@ IAssistProposal *MergedCompletionAssistProcessor::perform()
}); });
m_qbsProcessor->start(std::make_unique<AssistInterface>(m_interface->cursor(), m_qbsProcessor->start(std::make_unique<AssistInterface>(m_interface->cursor(),
m_interface->filePath(), m_interface->filePath(),
ExplicitlyInvoked)); m_interface->reason()));
} else { } else {
m_qbsProposal = nullptr; m_qbsProposal = nullptr;
} }
@@ -162,7 +162,7 @@ IAssistProposal *MergedCompletionAssistProcessor::perform()
return m_qmlProcessor->start( return m_qmlProcessor->start(
std::make_unique<QmlJSCompletionAssistInterface>(qmlJsIface->cursor(), std::make_unique<QmlJSCompletionAssistInterface>(qmlJsIface->cursor(),
qmlJsIface->filePath(), qmlJsIface->filePath(),
ExplicitlyInvoked, m_interface->reason(),
qmlJsIface->semanticInfo())); qmlJsIface->semanticInfo()));
} }