From 962d45e09fa8abd3e562f1f5046bad5e62cb7df8 Mon Sep 17 00:00:00 2001 From: JunjieBai Date: Mon, 11 Sep 2023 17:58:13 +0800 Subject: [PATCH] fix(frontend):modify the highlight effect of the search symbol icon on the edit line. --- frontend/control/search-line-edit.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/control/search-line-edit.cpp b/frontend/control/search-line-edit.cpp index 918eeb8..54a4628 100644 --- a/frontend/control/search-line-edit.cpp +++ b/frontend/control/search-line-edit.cpp @@ -41,7 +41,7 @@ SearchLineEdit::SearchLineEdit(QWidget *parent) : QLineEdit(parent) { m_queryIcon = new QLabel; QPixmap pixmap = QPixmap(IconLoader::loadIconQt("system-search-symbolic", QIcon(":/res/icons/system-search.symbolic.png")).pixmap(QSize(18, 18))); - m_queryIcon->setProperty("useIconHighlightEffect", 0x10); + m_queryIcon->setProperty("useIconHighlightEffect", 0x02); m_queryIcon->setFixedSize(pixmap.size() / pixmap.devicePixelRatio()); m_queryIcon->setPixmap(pixmap);