1
0
mirror of https://github.com/d47081/qBittorrent.git synced 2025-01-11 07:18:08 +00:00

Fix sorting torrents by ETA

Same as #2966.
Related issue: #2965.
This commit is contained in:
Gabriele 2015-05-10 14:30:36 +02:00
parent d76a84048b
commit d3b23e4b81

View File

@ -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;