mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-08-19 21:03:30 -07: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) {
|
else if (!invalidL && !invalidR) {
|
||||||
return lowerPositionThan(left, right);
|
return etaL < etaR;
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
return !invalidL;
|
return !invalidL;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue