生产工具去掉原来的日志模块
This commit is contained in:
parent
fdf5dd261d
commit
20e8a2279f
|
@ -4,7 +4,6 @@
|
|||
#include <QMessageBox>
|
||||
#include <QInputDialog>
|
||||
#include "base/HGBase.h"
|
||||
#include "base/HGInfo.h"
|
||||
#include "imgfmt/HGImgFmt.h"
|
||||
#include "HGUIGlobal.h"
|
||||
#include "HGString.h"
|
||||
|
|
|
@ -788,12 +788,10 @@ static int getDays(int year, int month)
|
|||
static int getPatchVersion()
|
||||
{
|
||||
const char *buildDate = __DATE__;
|
||||
HGBase_WriteInfo(HGBASE_INFOTYPE_ERROR, "buildDate: %s", buildDate);
|
||||
QDate date = QLocale(QLocale::English).toDate(QString(buildDate).replace(" ", " 0"), "MMM dd yyyy");
|
||||
int year = date.year();
|
||||
int day = date.day();
|
||||
int month = date.month();
|
||||
HGBase_WriteInfo(HGBASE_INFOTYPE_ERROR, "buildDate: %d %d %d", year, month, day);
|
||||
|
||||
int ret = year % 100;
|
||||
ret *= 1000;
|
||||
|
|
Loading…
Reference in New Issue