Fix visual glitches in search-bar

Closes https://github.com/lxqt/qterminal/issues/249
This commit is contained in:
Tsu Jan
2018-10-08 01:20:28 +03:30
committed by Alf Gaida
parent 8374bf9d31
commit 871d069b8b
2 changed files with 2 additions and 6 deletions
+1
View File
@@ -26,6 +26,7 @@
SearchBar::SearchBar(QWidget *parent) : QWidget(parent)
{
widget.setupUi(this);
setAutoFillBackground(true); // make it always opaque, especially inside translucent windows
connect(widget.closeButton, SIGNAL(clicked()), this, SLOT(hide()));
connect(widget.searchTextEdit, SIGNAL(textChanged(QString)), this, SIGNAL(searchCriteriaChanged()));
connect(widget.findPreviousButton, SIGNAL(clicked()), this, SIGNAL(findPrevious()));
+1 -6
View File
@@ -66,16 +66,11 @@
<string>...</string>
</property>
<property name="icon">
<iconset>
<normaloff/>
</iconset>
<iconset theme="preferences-system"/>
</property>
<property name="popupMode">
<enum>QToolButton::InstantPopup</enum>
</property>
<property name="arrowType">
<enum>Qt::DownArrow</enum>
</property>
</widget>
</item>
</layout>