mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2026-01-03 14:12:30 -06:00
Fix wrong warning in torrent addition dialog (closes #579301)
This commit is contained in:
@@ -347,8 +347,11 @@ public:
|
||||
}
|
||||
|
||||
bool allFiltered() const {
|
||||
if(!rootItem->childCount()) return true;
|
||||
return (rootItem->child(0)->getPriority() == IGNORED);
|
||||
for(int i=0; i<rootItem->childCount(); ++i) {
|
||||
if(rootItem->child(i)->getPriority() != IGNORED)
|
||||
return false;
|
||||
}
|
||||
return true;
|
||||
}
|
||||
|
||||
int columnCount(const QModelIndex &parent=QModelIndex()) const {
|
||||
|
||||
Reference in New Issue
Block a user