🐞 fix(发现模块): 修改设备信息处理条件
This commit is contained in:
parent
c0dd2c2e5a
commit
d9eb1aa36e
|
@ -99,7 +99,7 @@ void Discovery::getDeviceInfo(char *buf, qint64 len)
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
qInfo() << "GetDevTypeValue Success " << value;
|
qInfo() << "GetDevTypeValue Success " << value;
|
||||||
if (value != KCommon::DeviceType::PC || value != KCommon::DeviceType::Phone) {
|
if (value != KCommon::DeviceType::PC && value != KCommon::DeviceType::Phone) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
m_devType = value;
|
m_devType = value;
|
||||||
|
|
Loading…
Reference in New Issue