From 625c61f1d545044f8c287434968b79f17004a078 Mon Sep 17 00:00:00 2001
From: Pavel Sanda
Date: Mon, 4 Sep 2023 21:50:51 +0200
Subject: [PATCH] Output python version in About dialog.
Patch from Jose.
---
src/frontends/qt/GuiAbout.cpp | 4 ++--
src/support/os.cpp | 12 ++++++++++--
src/support/os.h | 3 +++
3 files changed, 15 insertions(+), 4 deletions(-)
diff --git a/src/frontends/qt/GuiAbout.cpp b/src/frontends/qt/GuiAbout.cpp
index 325801c521..0a585f0eac 100644
--- a/src/frontends/qt/GuiAbout.cpp
+++ b/src/frontends/qt/GuiAbout.cpp
@@ -222,7 +222,7 @@ static QString buildinfo()
<< endl;
#endif
- out << lyx_version_info
+ out << lyx_version_info
#if (QT_VERSION >= QT_VERSION_CHECK(5, 15, 0))
<< Qt::endl;
#else
@@ -297,7 +297,7 @@ static QString version(bool const plain = false)
else
out << "
";
#endif
- out << toqstr(bformat(_("Python detected: %1$s"), from_utf8(os::python())));
+ out << toqstr(bformat(_("Python detected: %1$s"), from_utf8(os::python_info())));
if (!plain)
out << toqstr("