Fix sorting torrents by ETA

Closes #2965.
This commit is contained in:
Gabriele 2015-05-10 14:30:36 +02:00
commit 1a52368f79

View file

@ -205,7 +205,7 @@ bool TransferListSortModel::lessThan(const QModelIndex &left, const QModelIndex
}
}
else if ((invalidL == false) && (invalidR == false)) {
return lowerPositionThan(left, right);
return etaL < etaR;
}
else {
return !invalidL;