aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/python
diff options
context:
space:
mode:
authorhjk <hjk@qt.io>2021-08-31 13:34:20 +0200
committerhjk <hjk@qt.io>2021-08-31 15:16:42 +0000
commit0061555213a491a407307cfbf16d1618426a234b (patch)
tree462486c62f02636909de37eaf812adca1653c77c /src/plugins/python
parent000f5aba4f36e50ba2de35204823b2b97754e219 (diff)
LanguangeClient: Use more FilePath
Change-Id: Ic849da11da646feb804717550d2a8a60d61f332d Reviewed-by: David Schulz <david.schulz@qt.io>
Diffstat (limited to 'src/plugins/python')
-rw-r--r--src/plugins/python/pythonutils.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/python/pythonutils.cpp b/src/plugins/python/pythonutils.cpp
index 4340da3bacb..b570b26a1ae 100644
--- a/src/plugins/python/pythonutils.cpp
+++ b/src/plugins/python/pythonutils.cpp
@@ -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));