!13 修改控制面板插件中删除黑名单按钮样式.

* 修改控制面板插件中删除黑名单按钮样式.
This commit is contained in:
iaom 2022-10-10 03:14:54 +00:00 committed by 纪笑旭
parent e420c60adb
commit c6fc1dbceb
1 changed files with 2 additions and 3 deletions

View File

@ -335,11 +335,10 @@ void Search::appendBlockDirToList(const QString &path)
dirFrameLayout->addWidget(pathLabel); dirFrameLayout->addWidget(pathLabel);
dirFrameLayout->addStretch(); dirFrameLayout->addStretch();
QPushButton * delBtn = new QPushButton(dirFrame); QPushButton * delBtn = new QPushButton(dirFrame);
delBtn->setIcon(QIcon::fromTheme("window-close-symbolic")); delBtn->setIcon(QIcon::fromTheme("edit-delete-symbolic"));
delBtn->setProperty("useButtonPalette", true);
delBtn->setFixedSize(30, 30); delBtn->setFixedSize(30, 30);
delBtn->setToolTip(tr("delete")); delBtn->setToolTip(tr("delete"));
delBtn->setProperty("isWindowButton", 0x2);
delBtn->setProperty("useIconHighlightEffect", 0x8);
delBtn->setFlat(true); delBtn->setFlat(true);