Add program version to About dialog box

This commit is contained in:
Nikolaj Schlej 2023-02-03 21:59:00 -08:00
parent c9939e23ec
commit f02f828571

View File

@ -579,8 +579,10 @@ void UEFITool::remove()
void UEFITool::about() void UEFITool::about()
{ {
QMessageBox::about(this, tr("About UEFITool"), QMessageBox::about(this,
tr("Copyright (c) 2013-2023, Nikolaj Schlej.<br><br>" tr("About UEFITool"),
tr("<b>UEFITool %1.</b><br><br>"
"Copyright (c) 2013-2023, Nikolaj Schlej.<br><br>"
"Program icon made by <a href=https://www.behance.net/alzhidkov>Alexander Zhidkov</a>.<br><br>" "Program icon made by <a href=https://www.behance.net/alzhidkov>Alexander Zhidkov</a>.<br><br>"
"GUI uses QHexEdit2 library made by <a href=https://github.com/Simsys>Simsys</a>.<br>" "GUI uses QHexEdit2 library made by <a href=https://github.com/Simsys>Simsys</a>.<br>"
"Qt-less engine uses Bstrlib made by <a href=https://github.com/websnarf>Paul Hsieh</a>.<br>" "Qt-less engine uses Bstrlib made by <a href=https://github.com/websnarf>Paul Hsieh</a>.<br>"
@ -595,7 +597,8 @@ void UEFITool::about()
"<b>THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN \"AS IS\" BASIS, " "<b>THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN \"AS IS\" BASIS, "
"WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, " "WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, "
"EITHER EXPRESS OR IMPLIED.</b>" "EITHER EXPRESS OR IMPLIED.</b>"
)); "").arg(version)
);
} }
void UEFITool::aboutQt() void UEFITool::aboutQt()