1
0
mirror of https://github.com/d47081/qBittorrent.git synced 2025-01-26 14:34:30 +00:00

Merge pull request #12396 from glassez/fix-sorting

Fix sub-sorting of Transfer list
This commit is contained in:
Vladimir Golovnev 2020-04-03 21:08:28 +03:00 committed by GitHub
commit df6d641cfb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -96,7 +96,7 @@ bool TransferListSortModel::lessThan_impl(const QModelIndex &left, const QModelI
const auto invokeLessThanForColumn = [this, &left, &right](const int column) -> bool
{
return lessThan_impl(left.sibling(left.row(), column), right.sibling(left.row(), column));
return lessThan_impl(left.sibling(left.row(), column), right.sibling(right.row(), column));
};
const int sortColumn = left.column();