aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/python/pythonlanguageclient.cpp
diff options
context:
space:
mode:
authorhjk <hjk@qt.io>2025-04-11 11:51:03 +0200
committerhjk <hjk@qt.io>2025-04-11 14:51:57 +0000
commiteeaa93fc749d36abb7b2f175ba25d36cbd95d1c6 (patch)
tree2fe3132c1431f3a365191e844db9031d950d3880 /src/plugins/python/pythonlanguageclient.cpp
parenta460ec1641f6fb39901bb38d930a209a9078efaf (diff)
Replace most expected_str by Utils::Result
Keep it in Axivion dto, which is generated. Change-Id: I83a12de6234ac7b0218b369875bdc72d25dbadfb Reviewed-by: Eike Ziller <eike.ziller@qt.io> Reviewed-by: Jarek Kobus <jaroslaw.kobus@qt.io>
Diffstat (limited to 'src/plugins/python/pythonlanguageclient.cpp')
-rw-r--r--src/plugins/python/pythonlanguageclient.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/python/pythonlanguageclient.cpp b/src/plugins/python/pythonlanguageclient.cpp
index 860863059e7..a161f98db4c 100644
--- a/src/plugins/python/pythonlanguageclient.cpp
+++ b/src/plugins/python/pythonlanguageclient.cpp
@@ -72,7 +72,7 @@ static FilePath pyLspPath(const FilePath &python)
const QString version = pythonVersion(python);
if (python.isLocal())
return Core::ICore::userResourcePath() / "pylsp" / version;
- if (const expected_str<FilePath> tmpDir = python.tmpDir())
+ if (const Result<FilePath> tmpDir = python.tmpDir())
return *tmpDir / "qc-pylsp" / version;
return {};
}