Merge pull request #3324 from pmzqla/sort-eta-master

Fix sorting torrents by ETA
This commit is contained in:
sledgehammer999 2015-07-03 21:55:52 +03:00
commit e1e8471728

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;