mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-07-30 03:28:41 -07:00
parent
d05d5a85a5
commit
dd34663224
59 changed files with 1796 additions and 1280 deletions
|
@ -47,15 +47,15 @@ void TransferListSortModel::setStatusFilter(TorrentFilter::Type filter)
|
|||
invalidateFilter();
|
||||
}
|
||||
|
||||
void TransferListSortModel::setLabelFilter(const QString &label)
|
||||
void TransferListSortModel::setCategoryFilter(const QString &category)
|
||||
{
|
||||
if (m_filter.setLabel(label))
|
||||
if (m_filter.setCategory(category))
|
||||
invalidateFilter();
|
||||
}
|
||||
|
||||
void TransferListSortModel::disableLabelFilter()
|
||||
void TransferListSortModel::disableCategoryFilter()
|
||||
{
|
||||
if (m_filter.setLabel(TorrentFilter::AnyLabel))
|
||||
if (m_filter.setCategory(TorrentFilter::AnyCategory))
|
||||
invalidateFilter();
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue