aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/python/pyside.cpp
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/pyside.cpp
parentc4e506b7853f9dc6f5422a745652f5be283228f2 (diff)
Python: use DataFromProcess to fetch python version outputHEADmaster
and remove duplicated calls and caches Change-Id: I39f73354035f2ad427e7f2360ccba7143aeb2b84 Reviewed-by: hjk <hjk@qt.io>
Diffstat (limited to 'src/plugins/python/pyside.cpp')
-rw-r--r--src/plugins/python/pyside.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/python/pyside.cpp b/src/plugins/python/pyside.cpp
index 79cb6949ee2..8e74e71b1f6 100644
--- a/src/plugins/python/pyside.cpp
+++ b/src/plugins/python/pyside.cpp
@@ -211,7 +211,7 @@ void PySideInstaller::handlePySideMissing(const FilePath &python,
if (!document || !document->infoBar()->canInfoBeAdded(installPySideInfoBarId))
return;
const QString message = Tr::tr("%1 installation missing for %2 (%3)")
- .arg(pySide, pythonName(python), python.toUserOutput());
+ .arg(pySide, pythonVersion(python), python.toUserOutput());
InfoBarEntry info(installPySideInfoBarId, message, InfoBarEntry::GlobalSuppression::Enabled);
auto installCallback = [this, python, pySide] { installPySide(python, pySide, true); };
const QString installTooltip = Tr::tr("Install %1 for %2 using pip package installer.")