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()));