mirror of
https://github.com/linuxdeepin/dde-dock.git
synced 2025-06-01 07:05:48 +00:00
fix: turn on bluetooth loading animation not start
change loading animation when bluetooth switch Issue: https://github.com/linuxdeepin/developer-center/issues/6033
This commit is contained in:
parent
971cd92007
commit
442a98cb70
@ -414,6 +414,8 @@ void BluetoothAdapterItem::initConnect()
|
||||
m_seperator->setVisible(false);
|
||||
m_adapterStateBtn->setEnabled(false);
|
||||
m_refreshBtn->setVisible(state);
|
||||
// FIX #6033 开启蓝牙就开始转动,关闭就停止转动
|
||||
state ? m_refreshBtn->startRotate() : m_refreshBtn->stopRotate();
|
||||
emit requestSetAdapterPower(m_adapter, state);
|
||||
});
|
||||
connect(m_bluetoothInter, &DBusBluetooth::DisplaySwitchChanged, this, [ = ](bool value) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user