wayland 托盘无线密码框浅色主题下仍为黑色问题
This commit is contained in:
parent
ef50dfd246
commit
e8807dfa2e
|
@ -280,6 +280,7 @@ void WlanListItem::paintEvent(QPaintEvent *event)
|
||||||
{
|
{
|
||||||
QPalette pal = qApp->palette();
|
QPalette pal = qApp->palette();
|
||||||
if (m_pwdLineEdit != nullptr) {
|
if (m_pwdLineEdit != nullptr) {
|
||||||
|
pal.setColor(QPalette::Base, pal.color(QPalette::Base));
|
||||||
m_pwdLineEdit->setPalette(pal);
|
m_pwdLineEdit->setPalette(pal);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue