mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2025-01-06 15:04:34 +08:00
Change placeholder text in torrent list's filter
This commit is contained in:
parent
68709c3112
commit
e6887fc950
@ -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…
Reference in New Issue
Block a user