This commit is contained in:
luoliangyi 2023-08-23 15:52:29 +08:00
parent acd0ed6710
commit 2cccbaae9f
1 changed files with 2 additions and 2 deletions

View File

@ -3116,7 +3116,7 @@ static int getDays(int year, int month)
return 31;
}
static int getPathVersion()
static int getPatchVersion()
{
QDate date = QLocale(QLocale::English).toDate(__DATE__, "MMM dd yyyy");
int year = date.year();
@ -3198,7 +3198,7 @@ void MainWindow::on_act_about_triggered()
}
#endif
patchVersion = getPathVersion();
patchVersion = getPatchVersion();
HGChar version[32] = { 0 };
sprintf(version, "%d.%d.%d.%d", mainVersion, subVersion, buildVersion, patchVersion);