diff options
Diffstat (limited to 'src/plugins/python/pythonutils.cpp')
-rw-r--r-- | src/plugins/python/pythonutils.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/python/pythonutils.cpp b/src/plugins/python/pythonutils.cpp index 1ddad5cfcf..cd88efe8f2 100644 --- a/src/plugins/python/pythonutils.cpp +++ b/src/plugins/python/pythonutils.cpp @@ -59,7 +59,7 @@ FilePath detectPython(const FilePath &documentPath) if (auto target = project->activeTarget()) { if (auto runConfig = qobject_cast<PythonRunConfiguration *>( target->activeRunConfiguration())) { - python = FilePath::fromString(runConfig->interpreter()); + python = runConfig->interpreter().command; } } } |