fix: bluetooth not refresh button

Closed: https://github.com/linuxdeepin/developer-center/issues/3809
This commit is contained in:
Zhang Dingyuan 2023-03-07 15:07:00 +08:00 committed by deepin-bot[bot]
parent e9674ff8f5
commit 6102475daf

View File

@ -184,9 +184,9 @@ void BluetoothAdapterItem::onAdapterNameChanged(const QString name)
void BluetoothAdapterItem::updateIconTheme(DGuiApplicationHelper::ColorType type)
{
if (type == DGuiApplicationHelper::LightType)
m_refreshBtn->setRotateIcon(":/wireless/resources/wireless/refresh_dark.svg");
m_refreshBtn->setRotateIcon(":/refresh_dark.svg");
else
m_refreshBtn->setRotateIcon(":/wireless/resources/wireless/refresh.svg");
m_refreshBtn->setRotateIcon(":/refresh.svg");
}
QSize BluetoothAdapterItem::sizeHint() const