mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2025-12-20 23:47:23 -06:00
Support sub-sorting in Transferlist
This commit is contained in:
@@ -53,9 +53,13 @@ public:
|
||||
void disableTrackerFilter();
|
||||
|
||||
private:
|
||||
int compare(const QModelIndex &left, const QModelIndex &right) const;
|
||||
|
||||
bool lessThan(const QModelIndex &left, const QModelIndex &right) const override;
|
||||
bool filterAcceptsRow(int sourceRow, const QModelIndex &sourceParent) const override;
|
||||
bool matchFilter(int sourceRow, const QModelIndex &sourceParent) const;
|
||||
|
||||
TorrentFilter m_filter;
|
||||
mutable int m_subSortColumn = -1;
|
||||
mutable int m_sortColumn = -1;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user