fix: 修复蓝牙连接成功后动画显示问题

连接需要PIN码的蓝牙设备,连接中的动画控件还停留在旧的位置,连接成功,该状态立即隐藏

Log:
Influence: 任务栏-蓝牙插件-连接需要PIN码的蓝牙设备连接成功,蓝牙列表状态显示正常
Bug: https://pms.uniontech.com/bug-view-159331.html
This commit is contained in:
songwentao 2022-09-19 13:39:25 +08:00 committed by deepin-bot[bot]
parent 695a1c32a7
commit 5d01010b7e

View File

@ -120,6 +120,8 @@ void BluetoothDeviceItem::updateDeviceState(Device::State state)
m_stateAction->setVisible(false);
m_connAction->setVisible(false);
}
m_loading->setVisible(state == Device::StateAvailable);
emit deviceStateChanged(m_device);
}