mirror of
https://github.com/linuxdeepin/dde-dock.git
synced 2025-06-03 00:15:21 +00:00
fix: 修改蓝牙刷新图标为空问题
刷新图标资源应为蓝牙资源内 Log: 修改蓝牙刷新图标为空问题 Bug: https://pms.uniontech.com/bug-view-172931.html Influence: 任务栏-蓝牙列表-蓝牙刷新图标
This commit is contained in:
parent
9500d95fca
commit
02974ef4ca
@ -190,11 +190,11 @@ void BluetoothAdapterItem::updateIconTheme(DGuiApplicationHelper::ColorType type
|
||||
{
|
||||
QPalette widgetBackgroud;
|
||||
if (type == DGuiApplicationHelper::LightType) {
|
||||
m_refreshBtn->setRotateIcon(":/wireless/resources/wireless/refresh_dark.svg");
|
||||
m_refreshBtn->setRotateIcon(":/refresh_dark.svg");
|
||||
widgetBackgroud.setColor(QPalette::Background, QColor(255, 255, 255, 0.03 * 255));
|
||||
} else {
|
||||
widgetBackgroud.setColor(QPalette::Background, QColor(0, 0, 0, 0.03 * 255));
|
||||
m_refreshBtn->setRotateIcon(":/wireless/resources/wireless/refresh.svg");
|
||||
m_refreshBtn->setRotateIcon(":/refresh.svg");
|
||||
}
|
||||
|
||||
m_adapterLabel->label()->setAutoFillBackground(true);
|
||||
|
Loading…
x
Reference in New Issue
Block a user