From e011143bfa3683744651b9b6a50bd870026a3db4 Mon Sep 17 00:00:00 2001 From: caixiangrong Date: Wed, 23 Nov 2022 17:01:00 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E6=94=B9=E8=93=9D=E7=89=99?= =?UTF-8?q?=E5=88=B7=E6=96=B0=E5=9B=BE=E6=A0=87=E4=B8=BA=E7=A9=BA=E9=97=AE?= =?UTF-8?q?=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 刷新图标资源应为蓝牙资源内 Log: 修改蓝牙刷新图标为空问题 Bug: https://pms.uniontech.com/bug-view-172931.html Influence: 任务栏-蓝牙列表-蓝牙刷新图标 --- plugins/bluetooth/componments/bluetoothadapteritem.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/bluetooth/componments/bluetoothadapteritem.cpp b/plugins/bluetooth/componments/bluetoothadapteritem.cpp index 2375c0cbd..1ad80130b 100644 --- a/plugins/bluetooth/componments/bluetoothadapteritem.cpp +++ b/plugins/bluetooth/componments/bluetoothadapteritem.cpp @@ -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);