调整获取版本号方式
This commit is contained in:
parent
d00f2b8702
commit
3037687986
|
@ -48,6 +48,7 @@
|
|||
#include "app_about_info/appAboutInfo.h"
|
||||
#include <assert.h>
|
||||
#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;
|
||||
|
|
Loading…
Reference in New Issue