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 bd28d749b7..e08debf860 100644 --- a/src/plugins/python/pythonutils.cpp +++ b/src/plugins/python/pythonutils.cpp @@ -197,7 +197,7 @@ static FilePath detectPython(const FilePath &documentPath) python = PythonSettings::defaultInterpreter().command; if (!python.exists() && !PythonSettings::interpreters().isEmpty()) - python = PythonSettings::interpreters().first().command; + python = PythonSettings::interpreters().constFirst().command; return python; } |