commit 007a192faeb576f061f6ba476ae9dffa5f638f6f
Author: Jean-Marc Lasgouttes <[email protected]>
Date: Tue Mar 2 08:28:47 2021 +0100
Add Qt platform name in About dialog
(cherry picked from commit 234886f6eb438b68f72f46ed2904fd408741f777)
---
src/frontends/qt4/GuiAbout.cpp | 4 +++-
status.23x | 2 ++
2 files changed, 5 insertions(+), 1 deletions(-)
diff --git a/src/frontends/qt4/GuiAbout.cpp b/src/frontends/qt4/GuiAbout.cpp
index 299ed08..72b67e7 100644
--- a/src/frontends/qt4/GuiAbout.cpp
+++ b/src/frontends/qt4/GuiAbout.cpp
@@ -12,6 +12,8 @@
#include "GuiAbout.h"
+#include "GuiApplication.h"
+
#include "ui_AboutUi.h"
#include "qt_helpers.h"
@@ -229,7 +231,7 @@ static QString version()
out << qt_("User directory: ");
out << toqstr(makeDisplayPath(package().user_support().absFileName()));
out << "\n";
- out << toqstr(bformat(_("Qt Version (run-time): %1$s"),
from_ascii(qVersion()))) << "\n";
+ out << toqstr(bformat(_("Qt Version (run-time): %1$s on platform
%2$s"), from_ascii(qVersion()), qstring_to_ucs4(guiApp->platformName()))) <<
"\n";
out << toqstr(bformat(_("Qt Version (compile-time): %1$s"),
from_ascii(QT_VERSION_STR))) << "\n";
return res;
}
diff --git a/status.23x b/status.23x
index 2b994ea..06a0d57 100644
--- a/status.23x
+++ b/status.23x
@@ -34,6 +34,8 @@ What's new
- Other than directly inserted, now references can also be pasted as insets
into an equation, instead of simply as text (bug 11539).
+- Add Qt platform name in About dialog.
+
* DOCUMENTATION AND LOCALIZATION
--
lyx-cvs mailing list
[email protected]
http://lists.lyx.org/mailman/listinfo/lyx-cvs