diff --git a/plugins/bluetooth/componments/bluetoothadapteritem.cpp b/plugins/bluetooth/componments/bluetoothadapteritem.cpp index d2124109f..88c289a2e 100644 --- a/plugins/bluetooth/componments/bluetoothadapteritem.cpp +++ b/plugins/bluetooth/componments/bluetoothadapteritem.cpp @@ -66,6 +66,7 @@ void BluetoothDeviceItem::initActionList() m_standarditem->setActionList(Qt::RightEdge, {m_stateAction}); m_standarditem->setActionList(Qt::LeftEdge, {m_labelAction}); + m_labelAction->setTextColorRole(DPalette::BrightText); m_labelAction->setText(m_device->alias()); updateDeviceState(m_device->state()); updateIconTheme(DGuiApplicationHelper::instance()->themeType()); diff --git a/plugins/bluetooth/componments/bluetoothapplet.cpp b/plugins/bluetooth/componments/bluetoothapplet.cpp index 71ada4098..a5fd6ea3e 100644 --- a/plugins/bluetooth/componments/bluetoothapplet.cpp +++ b/plugins/bluetooth/componments/bluetoothapplet.cpp @@ -45,6 +45,9 @@ SettingLabel::SettingLabel(QString text, QWidget *parent) , m_label(new DLabel(text, this)) , m_layout(new QHBoxLayout(this)) { + QPalette palette; + palette.setColor(QPalette::WindowText, QPalette::BrightText); + m_label->setPalette(palette); setAccessibleName("BluetoothSettingLabel"); setContentsMargins(0, 0, 0, 0); m_layout->setMargin(0);