This commit is contained in:
parent
bea0d290d6
commit
ae97584654
|
@ -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);
|
||||
|
||||
|
|
Loading…
Reference in New Issue