From 30376879862dbec1b0e18f72a29362e40ec0355d Mon Sep 17 00:00:00 2001 From: yangjiaxuan <171295266@qq.com> Date: Tue, 22 Aug 2023 18:22:17 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B0=83=E6=95=B4=E8=8E=B7=E5=8F=96=E7=89=88?= =?UTF-8?q?=E6=9C=AC=E5=8F=B7=E6=96=B9=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/scanner2/mainwindow.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/app/scanner2/mainwindow.cpp b/app/scanner2/mainwindow.cpp index 8b722dbc..fe81e378 100644 --- a/app/scanner2/mainwindow.cpp +++ b/app/scanner2/mainwindow.cpp @@ -48,6 +48,7 @@ #include "app_about_info/appAboutInfo.h" #include #include "lang/app_language.h" +#include "huagao/brand.h" #define PASSWORD_KEY 4 @@ -3229,7 +3230,8 @@ static HGResult getCurrVersion(HGChar* version, HGUInt maxLen) void MainWindow::on_act_about_triggered() { HGChar version[32] = { 0 }; - getCurrVersion(version, 32); + //getCurrVersion(version, 32); + sprintf(version, "%d.%d.%d.%d", VERSION_MAIN, VERSION_SUB, VERSION_BUILD1, VERSION_PATCH); QString title = tr("about %1").arg(windowTitle()); QString content;