wayland 托盘无线密码框浅色主题下仍为黑色问题

This commit is contained in:
zhangyuanyuan1 2023-03-01 11:24:06 +08:00
parent ef50dfd246
commit e8807dfa2e
1 changed files with 1 additions and 0 deletions

View File

@ -280,6 +280,7 @@ void WlanListItem::paintEvent(QPaintEvent *event)
{
QPalette pal = qApp->palette();
if (m_pwdLineEdit != nullptr) {
pal.setColor(QPalette::Base, pal.color(QPalette::Base));
m_pwdLineEdit->setPalette(pal);
}