LanguangeClient: Use more FilePath

Change-Id: Ic849da11da646feb804717550d2a8a60d61f332d
Reviewed-by: David Schulz <david.schulz@qt.io>
This commit is contained in:
hjk
2021-08-31 13:34:20 +02:00
parent 000f5aba4f
commit 0061555213
4 changed files with 13 additions and 16 deletions

View File

@@ -225,7 +225,7 @@ const StdIOSettings *PyLSConfigureAssistant::languageServerForPython(const FileP
static Client *registerLanguageServer(const FilePath &python)
{
auto *settings = new StdIOSettings();
settings->m_executable = python.toString();
settings->m_executable = python;
settings->m_arguments = "-m pyls";
settings->m_name = PyLSConfigureAssistant::tr("Python Language Server (%1)")
.arg(pythonName(python));