Add OS version info to About box.

This commit is contained in:
Stephan Witt 2022-12-07 00:08:11 +01:00
parent 5c2d92b930
commit a66ee4109e

View File

@ -290,6 +290,12 @@ static QString version(bool const plain = false)
else
out << "</p><p>";
out << toqstr(bformat(_("Qt Version (compile-time): %1$s"), from_ascii(QT_VERSION_STR)));
if (plain)
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