From 5d01010b7e4ec3918b8a0d44d776df8e5d604cc9 Mon Sep 17 00:00:00 2001 From: songwentao Date: Mon, 19 Sep 2022 13:39:25 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E5=A4=8D=E8=93=9D=E7=89=99?= =?UTF-8?q?=E8=BF=9E=E6=8E=A5=E6=88=90=E5=8A=9F=E5=90=8E=E5=8A=A8=E7=94=BB?= =?UTF-8?q?=E6=98=BE=E7=A4=BA=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 连接需要PIN码的蓝牙设备,连接中的动画控件还停留在旧的位置,连接成功,该状态立即隐藏 Log: Influence: 任务栏-蓝牙插件-连接需要PIN码的蓝牙设备连接成功,蓝牙列表状态显示正常 Bug: https://pms.uniontech.com/bug-view-159331.html --- plugins/bluetooth/componments/bluetoothadapteritem.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/plugins/bluetooth/componments/bluetoothadapteritem.cpp b/plugins/bluetooth/componments/bluetoothadapteritem.cpp index 514c76ea3..837b7ecea 100644 --- a/plugins/bluetooth/componments/bluetoothadapteritem.cpp +++ b/plugins/bluetooth/componments/bluetoothadapteritem.cpp @@ -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); }