diff options
Diffstat (limited to 'src/plugins/python/pythonsettings.cpp')
-rw-r--r-- | src/plugins/python/pythonsettings.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/python/pythonsettings.cpp b/src/plugins/python/pythonsettings.cpp index 314b3dc3ad5..5f4957d17a3 100644 --- a/src/plugins/python/pythonsettings.cpp +++ b/src/plugins/python/pythonsettings.cpp @@ -283,7 +283,7 @@ Interpreter::Interpreter(const FilePath &python, const QString &defaultName, boo pythonProcess.setTimeoutS(1); pythonProcess.setCommand({python, {"--version"}}); pythonProcess.runBlocking(); - if (pythonProcess.result() == QtcProcess::FinishedWithSuccess) + if (pythonProcess.result() == ProcessResult::FinishedWithSuccess) name = pythonProcess.stdOut().trimmed(); if (name.isEmpty()) name = defaultName; |