1
0
mirror of https://github.com/d47081/qBittorrent.git synced 2025-01-27 23:14:31 +00:00

Set placeholder text to torrent content filter.

In commit afb03725ad8fcf6eb1db305bdc89391a573f5968 it was implemented
for torrent list filter. Now it is here for files filter.
This commit is contained in:
Ivan Sorokin 2014-11-16 18:07:33 +03:00
parent 4dbc235c70
commit 6780791d60

View File

@ -80,6 +80,7 @@ PropertiesWidget::PropertiesWidget(QWidget *parent, MainWindow* main_window, Tra
filesList->setSortingEnabled(true);
// Torrent content filtering
m_contentFilerLine = new LineEdit(this);
m_contentFilerLine->setPlaceholderText(tr("Filter files..."));
connect(m_contentFilerLine, SIGNAL(textChanged(QString)), this, SLOT(filterText(QString)));
contentFilterLayout->insertWidget(1, m_contentFilerLine);