mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-08-21 13:53:37 -07:00
Merge pull request #2966 from pmzqla/sort-eta
Fix sorting torrents by ETA
This commit is contained in:
commit
057b998e0f
1 changed files with 1 additions and 1 deletions
|
@ -205,7 +205,7 @@ bool TransferListSortModel::lessThan(const QModelIndex &left, const QModelIndex
|
|||
}
|
||||
}
|
||||
else if ((invalidL == false) && (invalidR == false)) {
|
||||
return lowerPositionThan(left, right);
|
||||
return etaL < etaR;
|
||||
}
|
||||
else {
|
||||
return !invalidL;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue