mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2024-11-29 13:58:51 +03:00
Merge pull request #3324 from pmzqla/sort-eta-master
Fix sorting torrents by ETA
This commit is contained in:
commit
e1e8471728
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue