Browse Source

Set placeholder text to torrent content filter.

In commit afb03725ad it was implemented
for torrent list filter. Now it is here for files filter.
adaptive-webui-19844
Ivan Sorokin 10 years ago
parent
commit
6780791d60
  1. 1
      src/properties/propertieswidget.cpp

1
src/properties/propertieswidget.cpp

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

Loading…
Cancel
Save