fix sort by progress
This commit is contained in:
parent
e9bc4bea4d
commit
c17caf9f08
|
@ -157,6 +157,11 @@ bool TorrentFilter::lessThan(QModelIndex const& left, QModelIndex const& right)
|
|||
val = tr_compare_3way(a->metadataPercentDone(), b->metadataPercentDone());
|
||||
}
|
||||
|
||||
if (val == 0)
|
||||
{
|
||||
val = tr_compare_3way(a->percentComplete(), b->percentComplete());
|
||||
}
|
||||
|
||||
if (val == 0)
|
||||
{
|
||||
val = a->compareSeedProgress(*b);
|
||||
|
|
Loading…
Reference in New Issue