aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/python/pythonutils.h
diff options
context:
space:
mode:
authorDavid Schulz <david.schulz@qt.io>2025-12-11 08:22:14 +0100
committerDavid Schulz <david.schulz@qt.io>2025-12-17 05:55:30 +0000
commit8824c6f6e28f08dd36a8b80a40a0821fd19d2b3a (patch)
treef6fdbaf0eed9dcd4a40c5e50efa2e708aee3b926 /src/plugins/python/pythonutils.h
parentc4e506b7853f9dc6f5422a745652f5be283228f2 (diff)
Python: use DataFromProcess to fetch python version output
and remove duplicated calls and caches Change-Id: I39f73354035f2ad427e7f2360ccba7143aeb2b84 Reviewed-by: hjk <hjk@qt.io>
Diffstat (limited to 'src/plugins/python/pythonutils.h')
-rw-r--r--src/plugins/python/pythonutils.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/plugins/python/pythonutils.h b/src/plugins/python/pythonutils.h
index 7aa5a575f56..4d4b0bd8cc1 100644
--- a/src/plugins/python/pythonutils.h
+++ b/src/plugins/python/pythonutils.h
@@ -11,7 +11,6 @@ enum class ReplType { Unmodified, Import, ImportToplevel };
void openPythonRepl(QObject *parent, const Utils::FilePath &file, ReplType type);
Utils::FilePath detectPython(const Utils::FilePath &documentPath);
void definePythonForDocument(const Utils::FilePath &documentPath, const Utils::FilePath &python);
-QString pythonName(const Utils::FilePath &pythonPath);
class PythonProject;
PythonProject *pythonProjectForFile(const Utils::FilePath &pythonFile);