fix(frontend):modify the highlight effect of the search symbol icon on the edit line.
This commit is contained in:
parent
b9cfd2b2b7
commit
50f28278e5
|
@ -41,7 +41,7 @@ SearchLineEdit::SearchLineEdit(QWidget *parent) : QLineEdit(parent) {
|
||||||
|
|
||||||
m_queryIcon = new QLabel;
|
m_queryIcon = new QLabel;
|
||||||
QPixmap pixmap = QPixmap(IconLoader::loadIconQt("system-search-symbolic", QIcon(":/res/icons/system-search.symbolic.png")).pixmap(QSize(18, 18)));
|
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->setFixedSize(pixmap.size() / pixmap.devicePixelRatio());
|
||||||
m_queryIcon->setPixmap(pixmap);
|
m_queryIcon->setPixmap(pixmap);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue