Browse Source

Merge pull request #12396 from glassez/fix-sorting

Fix sub-sorting of Transfer list
adaptive-webui-19844
Vladimir Golovnev 5 years ago committed by GitHub
parent
commit
df6d641cfb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      src/gui/transferlistsortmodel.cpp

2
src/gui/transferlistsortmodel.cpp

@ -96,7 +96,7 @@ bool TransferListSortModel::lessThan_impl(const QModelIndex &left, const QModelI @@ -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();

Loading…
Cancel
Save