[LyX/master] Add OS version info to About box.
Stephan Witt
switt at lyx.org
Tue Dec 6 22:12:37 UTC 2022
commit a66ee4109ee84a4a501dbaa29580cdefe1aadd36
Author: Stephan Witt <switt at lyx.org>
Date: Wed Dec 7 00:08:11 2022 +0100
Add OS version info to About box.
---
src/frontends/qt/GuiAbout.cpp | 6 ++++++
1 files changed, 6 insertions(+), 0 deletions(-)
diff --git a/src/frontends/qt/GuiAbout.cpp b/src/frontends/qt/GuiAbout.cpp
index d4173fa..16f8be4 100644
--- a/src/frontends/qt/GuiAbout.cpp
+++ b/src/frontends/qt/GuiAbout.cpp
@@ -294,6 +294,12 @@ static QString version(bool const plain = false)
out << '\n';
else
out << "</p><p>";
+ out << toqstr(bformat(_("OS Version (run-time): %1$s"),
+ qstring_to_ucs4(QSysInfo::prettyProductName())));
+ if (plain)
+ out << '\n';
+ else
+ out << "</p><p>";
out << toqstr(bformat(_("Python detected: %1$s"), from_utf8(os::python())));
if (!plain)
out << toqstr("</p></body></html>");
More information about the lyx-cvs
mailing list