From f02f828571d64b14410faea6b9144faeccedcd7a Mon Sep 17 00:00:00 2001 From: Nikolaj Schlej Date: Fri, 3 Feb 2023 21:59:00 -0800 Subject: [PATCH] Add program version to About dialog box --- UEFITool/uefitool.cpp | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/UEFITool/uefitool.cpp b/UEFITool/uefitool.cpp index a625bf9..87cdcc1 100644 --- a/UEFITool/uefitool.cpp +++ b/UEFITool/uefitool.cpp @@ -579,8 +579,10 @@ void UEFITool::remove() void UEFITool::about() { - QMessageBox::about(this, tr("About UEFITool"), - tr("Copyright (c) 2013-2023, Nikolaj Schlej.

" + QMessageBox::about(this, + tr("About UEFITool"), + tr("UEFITool %1.

" + "Copyright (c) 2013-2023, Nikolaj Schlej.

" "Program icon made by Alexander Zhidkov.

" "GUI uses QHexEdit2 library made by Simsys.
" "Qt-less engine uses Bstrlib made by Paul Hsieh.
" @@ -595,7 +597,8 @@ void UEFITool::about() "THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN \"AS IS\" BASIS, " "WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, " "EITHER EXPRESS OR IMPLIED." - )); + "").arg(version) + ); } void UEFITool::aboutQt()