Support wildcards for filtering torrent list and torrent content

This commit is contained in:
vlakoff 2015-11-26 19:02:43 +01:00
parent 23748547a2
commit 692cac1dc5
3 changed files with 2 additions and 3 deletions

View file

@ -874,7 +874,7 @@ void TransferListWidget::applyTrackerFilter(const QStringList &hashes)
void TransferListWidget::applyNameFilter(const QString& name)
{
nameFilterModel->setFilterRegExp(QRegExp(QRegExp::escape(name), Qt::CaseInsensitive));
nameFilterModel->setFilterRegExp(QRegExp(name, Qt::CaseInsensitive, QRegExp::WildcardUnix));
}
void TransferListWidget::applyStatusFilter(int f)