mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-26 11:16:55 +00:00
Add Qt platform name in About dialog
(cherry picked from commit 234886f6eb
)
This commit is contained in:
parent
9a74a51791
commit
007a192fae
@ -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;
|
||||
}
|
||||
|
@ -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
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user