mirror of
https://github.com/d47081/qBittorrent.git
synced 2025-01-11 07:18:08 +00:00
Merge pull request #3324 from pmzqla/sort-eta-master
Fix sorting torrents by ETA
This commit is contained in:
commit
e1e8471728
@ -158,7 +158,7 @@ bool TransferListSortModel::lessThan(const QModelIndex &left, const QModelIndex
|
||||
}
|
||||
}
|
||||
else if (!invalidL && !invalidR) {
|
||||
return lowerPositionThan(left, right);
|
||||
return etaL < etaR;
|
||||
}
|
||||
else {
|
||||
return !invalidL;
|
||||
|
Loading…
Reference in New Issue
Block a user