fix: 修改蓝牙刷新图标为空问题

刷新图标资源应为蓝牙资源内

Log: 修改蓝牙刷新图标为空问题
Bug: https://pms.uniontech.com/bug-view-172931.html
Influence: 任务栏-蓝牙列表-蓝牙刷新图标
This commit is contained in:
caixiangrong 2022-11-23 17:01:00 +08:00 committed by KT-lcz
parent 9500d95fca
commit 02974ef4ca

View File

@ -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);