Browse Source

Merge pull request #9832 from thalieht/fieldwidth

Allow qBt to resize the search filter in search job
adaptive-webui-19844
Mike Tzou 6 years ago committed by GitHub
parent
commit
9090f2d321
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 1
      src/gui/search/searchjobwidget.cpp

1
src/gui/search/searchjobwidget.cpp

@ -129,7 +129,6 @@ SearchJobWidget::SearchJobWidget(SearchHandler *searchHandler, QWidget *parent) @@ -129,7 +129,6 @@ SearchJobWidget::SearchJobWidget(SearchHandler *searchHandler, QWidget *parent)
updateFilter();
m_lineEditSearchResultsFilter = new LineEdit(this);
m_lineEditSearchResultsFilter->setFixedWidth(Utils::Gui::scaledSize(this, 170));
m_lineEditSearchResultsFilter->setPlaceholderText(tr("Filter search results..."));
m_lineEditSearchResultsFilter->setContextMenuPolicy(Qt::CustomContextMenu);
connect(m_lineEditSearchResultsFilter, &QWidget::customContextMenuRequested, this, &SearchJobWidget::showFilterContextMenu);

Loading…
Cancel
Save