fix bug 96129

This commit is contained in:
zhangyuanyuan 2022-12-14 15:00:21 +08:00
parent 391797d588
commit 83d377c256
1 changed files with 2 additions and 2 deletions

View File

@ -52,8 +52,8 @@ AddNetBtn::AddNetBtn(bool isWlan, QWidget *parent) : QPushButton(parent)
textLabel->setText(tr("Add WiredNetork")); textLabel->setText(tr("Add WiredNetork"));
QIcon mAddIcon = QIcon::fromTheme("list-add-symbolic"); QIcon mAddIcon = QIcon::fromTheme("list-add-symbolic");
iconLabel->setPixmap(mAddIcon.pixmap(mAddIcon.actualSize(QSize(24, 24)))); iconLabel->setPixmap(mAddIcon.pixmap(mAddIcon.actualSize(QSize(24, 24))));
iconLabel->setProperty("useIconHighlightEffect", true); iconLabel->setProperty("useIconHighlightEffect", 0x2);
iconLabel->setProperty("iconHighlightEffectMode", 1); // iconLabel->setProperty("iconHighlightEffectMode", 1);
addLyt->addStretch(); addLyt->addStretch();
addLyt->addWidget(iconLabel); addLyt->addWidget(iconLabel);