Browse Source

Merge pull request #12057 from djt3/master

Change placeholder text in torrent list's filter
adaptive-webui-19844
Mike Tzou 5 years ago committed by GitHub
parent
commit
a773b9ad84
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      src/gui/mainwindow.cpp

2
src/gui/mainwindow.cpp

@ -216,7 +216,7 @@ MainWindow::MainWindow(QWidget *parent)
// Name filter // Name filter
m_searchFilter = new LineEdit(this); m_searchFilter = new LineEdit(this);
m_searchFilter->setPlaceholderText(tr("Filter torrent list...")); m_searchFilter->setPlaceholderText(tr("Filter torrent names..."));
m_searchFilter->setFixedWidth(Utils::Gui::scaledSize(this, 200)); m_searchFilter->setFixedWidth(Utils::Gui::scaledSize(this, 200));
m_searchFilter->setContextMenuPolicy(Qt::CustomContextMenu); m_searchFilter->setContextMenuPolicy(Qt::CustomContextMenu);
connect(m_searchFilter, &QWidget::customContextMenuRequested, this, &MainWindow::showFilterContextMenu); connect(m_searchFilter, &QWidget::customContextMenuRequested, this, &MainWindow::showFilterContextMenu);

Loading…
Cancel
Save