Merge pull request #12057 from djt3/master

Change placeholder text in torrent list's filter
This commit is contained in:
Mike Tzou 2020-02-25 13:29:09 +08:00 committed by GitHub
commit a773b9ad84
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -216,7 +216,7 @@ MainWindow::MainWindow(QWidget *parent)
// Name filter
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->setContextMenuPolicy(Qt::CustomContextMenu);
connect(m_searchFilter, &QWidget::customContextMenuRequested, this, &MainWindow::showFilterContextMenu);