mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2025-12-20 07:27:22 -06:00
committed by
sledgehammer999
parent
8e5c31ae82
commit
3d107e0588
@@ -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();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user