fix: 蓝牙设备连接成功后,移动端作为蓝牙客户端,连接成功后会必现图标异常及偶现文字异常

蓝牙设备已连接成功后,任务栏toolip提示错误

Log: 蓝牙设备连接成功后,移动端作为蓝牙客户端,连接成功后会必现图标异常及偶现文字异常
Bug: https://pms.uniontech.com/zentao/bug-view-55245.html
Change-Id: I4710ec2e0b4f70d294db907009a532cbc9079003
This commit is contained in:
yangyuyin 2020-12-01 17:20:30 +08:00
parent 30b1ce633c
commit 5324477882

View File

@ -104,8 +104,9 @@ void Adapter::updateDevice(const QJsonObject &dviceJson)
device->setName(name);
device->setPaired(paired);
device->setRssi(rssi);
device->setState(state);
//setState放后面是因为用到了connectState,fix bug 55245
device->setConnectState(connectState);
device->setState(state);
device->setDeviceType(bluetoothDeviceType);
}
}