This commit is contained in:
yangjiaxuan 2023-11-06 14:44:21 +08:00
parent bea0d290d6
commit ae97584654
1 changed files with 7 additions and 1 deletions

View File

@ -312,8 +312,14 @@ void Dialog_InputSerialNum::updateCurDeviceCfg()
int sleepTime = getSleepTime();
int vid_to = getDevVid();
int pid_to = getDevPid();
QString devideModel = getDeviceModel();
AnalysisJson analysisJson(m_profileName);
AnalysisJson::json_global jsonGlobal = analysisJson.GetGlobal();
QString devideModel("");
if (!jsonGlobal.device_model.isEmpty())
{
devideModel = getDeviceModel();
}
char buf[10];
sprintf(buf, "%x", vid_to);