|
|
|
@ -885,15 +885,11 @@ void TransferListWidget::currentChanged(const QModelIndex& current, const QModel
@@ -885,15 +885,11 @@ void TransferListWidget::currentChanged(const QModelIndex& current, const QModel
|
|
|
|
|
emit currentTorrentChanged(h); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
void TransferListWidget::applyLabelFilter(QString label) { |
|
|
|
|
if (label == "all") { |
|
|
|
|
void TransferListWidget::applyLabelFilterAll() { |
|
|
|
|
nameFilterModel->disableLabelFilter(); |
|
|
|
|
return; |
|
|
|
|
} |
|
|
|
|
if (label == "none") { |
|
|
|
|
nameFilterModel->setLabelFilter(QString()); |
|
|
|
|
return; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
void TransferListWidget::applyLabelFilter(QString label) { |
|
|
|
|
qDebug("Applying Label filter: %s", qPrintable(label)); |
|
|
|
|
nameFilterModel->setLabelFilter(label); |
|
|
|
|
} |
|
|
|
|