mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-07-15 01:33:07 -07:00
Implement tracker list in the side panel. Closes #170.
This commit is contained in:
parent
36d2bee557
commit
f0d5ce4b98
15 changed files with 391 additions and 2 deletions
|
@ -938,6 +938,16 @@ void TransferListWidget::applyLabelFilter(QString label)
|
|||
nameFilterModel->setLabelFilter(label);
|
||||
}
|
||||
|
||||
void TransferListWidget::applyTrackerFilterAll()
|
||||
{
|
||||
nameFilterModel->disableTrackerFilter();
|
||||
}
|
||||
|
||||
void TransferListWidget::applyTrackerFilter(const QStringList &hashes)
|
||||
{
|
||||
nameFilterModel->setTrackerFilter(hashes);
|
||||
}
|
||||
|
||||
void TransferListWidget::applyNameFilter(const QString& name)
|
||||
{
|
||||
nameFilterModel->setFilterRegExp(QRegExp(QRegExp::escape(name), Qt::CaseInsensitive));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue