mirror of
https://github.com/linuxdeepin/dde-dock.git
synced 2025-06-04 17:33:05 +00:00
fix(bluetooth): 任务栏蓝牙开关关闭刷新按钮隐藏
关闭任务栏蓝牙菜单,停止扫描蓝牙设备,刷新图标隐藏 Log: 关闭蓝牙开关概率性出现刷新按钮还在刷新的情况 Bug: https://pms.uniontech.com/zentao/bug-view-44902.html Change-Id: I88b76d45628cc869ab8a518f147b82a1961192d7 Reviewed-on: http://gerrit.uniontech.com/c/dde-dock/+/3137 Reviewed-by: <mailman@uniontech.com> Reviewed-by: niecheng <niecheng@uniontech.com> Tested-by: <mailman@uniontech.com>
This commit is contained in:
parent
47535d2dfa
commit
84cbc4454a
@ -76,6 +76,7 @@ SwitchItem::SwitchItem(QWidget *parent)
|
||||
|
||||
connect(m_switchBtn, &DSwitchButton::toggled, [&](bool change) {
|
||||
m_checkState = change;
|
||||
m_loadingIndicator->setVisible(change);
|
||||
emit checkedChanged(change);
|
||||
});
|
||||
connect(DGuiApplicationHelper::instance(), &DGuiApplicationHelper::themeTypeChanged, themeChanged);
|
||||
|
Loading…
x
Reference in New Issue
Block a user