From 0061555213a491a407307cfbf16d1618426a234b Mon Sep 17 00:00:00 2001 From: hjk Date: Tue, 31 Aug 2021 13:34:20 +0200 Subject: LanguangeClient: Use more FilePath Change-Id: Ic849da11da646feb804717550d2a8a60d61f332d Reviewed-by: David Schulz --- src/plugins/python/pythonutils.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/plugins/python/pythonutils.cpp') diff --git a/src/plugins/python/pythonutils.cpp b/src/plugins/python/pythonutils.cpp index 4340da3bac..b570b26a1a 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)); -- cgit v1.2.1