From c6fc1dbceb39076ca64bccc1fae339e4d1852ef8 Mon Sep 17 00:00:00 2001 From: iaom Date: Mon, 10 Oct 2022 03:14:54 +0000 Subject: [PATCH] =?UTF-8?q?!13=20=E4=BF=AE=E6=94=B9=E6=8E=A7=E5=88=B6?= =?UTF-8?q?=E9=9D=A2=E6=9D=BF=E6=8F=92=E4=BB=B6=E4=B8=AD=E5=88=A0=E9=99=A4?= =?UTF-8?q?=E9=BB=91=E5=90=8D=E5=8D=95=E6=8C=89=E9=92=AE=E6=A0=B7=E5=BC=8F?= =?UTF-8?q?.=20*=20=E4=BF=AE=E6=94=B9=E6=8E=A7=E5=88=B6=E9=9D=A2=E6=9D=BF?= =?UTF-8?q?=E6=8F=92=E4=BB=B6=E4=B8=AD=E5=88=A0=E9=99=A4=E9=BB=91=E5=90=8D?= =?UTF-8?q?=E5=8D=95=E6=8C=89=E9=92=AE=E6=A0=B7=E5=BC=8F.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- search-ukcc-plugin/search.cpp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/search-ukcc-plugin/search.cpp b/search-ukcc-plugin/search.cpp index bf06223..d6d52d2 100644 --- a/search-ukcc-plugin/search.cpp +++ b/search-ukcc-plugin/search.cpp @@ -335,11 +335,10 @@ void Search::appendBlockDirToList(const QString &path) dirFrameLayout->addWidget(pathLabel); dirFrameLayout->addStretch(); 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->setToolTip(tr("delete")); - delBtn->setProperty("isWindowButton", 0x2); - delBtn->setProperty("useIconHighlightEffect", 0x8); delBtn->setFlat(true);