mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2025-12-19 15:07:22 -06:00
- Completed port to TorrentFilesModel. Got rid or old arborescense.h
This commit is contained in:
@@ -273,6 +273,11 @@ public:
|
||||
return prio;
|
||||
}
|
||||
|
||||
bool allFiltered() const {
|
||||
if(!rootItem->childCount()) return true;
|
||||
return (rootItem->child(0)->getPriority() == IGNORED);
|
||||
}
|
||||
|
||||
int columnCount(const QModelIndex &parent=QModelIndex()) const {
|
||||
if (parent.isValid())
|
||||
return static_cast<TreeItem*>(parent.internalPointer())->columnCount();
|
||||
|
||||
Reference in New Issue
Block a user