From 1e3e169e16deedb5755c2c2029e2222d3c0ec023 Mon Sep 17 00:00:00 2001 From: iaom Date: Mon, 6 Jun 2022 11:26:55 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9ukcc=E6=8F=92=E4=BB=B6UI?= =?UTF-8?q?=E9=97=AE=E9=A2=98=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- search-ukcc-plugin/search.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/search-ukcc-plugin/search.cpp b/search-ukcc-plugin/search.cpp index 00271e7..af994d9 100644 --- a/search-ukcc-plugin/search.cpp +++ b/search-ukcc-plugin/search.cpp @@ -213,7 +213,8 @@ void Search::initUi() // border-radius: 4px;}").arg(stringColor)); m_addBlockDirWidget->setProperty("useButtonPalette", true); - m_addBlockDirWidget->setStyleSheet("QPushButton:!checked{background: palette(base);}"); +// m_addBlockDirWidget->setStyleSheet("QPushButton:!checked{background: palette(base);}"); + m_addBlockDirWidget->setFlat(true); m_addBlockDirIcon = new QLabel(m_addBlockDirWidget); m_addBlockDirIcon->setPixmap(QIcon("/usr/share/ukui-search/search-ukcc-plugin/image/add.svg").pixmap(12, 12));