LanguageClient: Pass out a mutable Project object

Callers can have legitimate reasons to use it in a non-const manner.

Change-Id: Id91a4708dd95845661b291ce7cc9ee1581bdade8
Reviewed-by: David Schulz <david.schulz@qt.io>
This commit is contained in:
Christian Kandeler
2021-09-23 12:11:31 +02:00
parent dde5a52693
commit c47312a836
3 changed files with 4 additions and 7 deletions

View File

@@ -928,7 +928,7 @@ void Client::executeCommand(const Command &command)
sendContent(ExecuteCommandRequest(ExecuteCommandParams(command)));
}
const ProjectExplorer::Project *Client::project() const
ProjectExplorer::Project *Client::project() const
{
return m_project;
}