mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-07-11 15:56:17 -07:00
Merge pull request #4170 from vlakoff/filtering-v3
Support wildcards for filtering torrent list and torrent content
This commit is contained in:
commit
f4ef0633c9
3 changed files with 2 additions and 3 deletions
|
@ -855,7 +855,7 @@ void PropertiesWidget::filteredFilesChanged() {
|
|||
}
|
||||
|
||||
void PropertiesWidget::filterText(const QString& filter) {
|
||||
PropListModel->setFilterFixedString(filter);
|
||||
PropListModel->setFilterRegExp(QRegExp(filter, Qt::CaseInsensitive, QRegExp::WildcardUnix));
|
||||
if (filter.isEmpty()) {
|
||||
filesList->collapseAll();
|
||||
filesList->expand(PropListModel->index(0, 0));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue