Browse Source

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

Fix sorting torrents by ETA
adaptive-webui-19844
sledgehammer999 9 years ago
parent
commit
e1e8471728
  1. 2
      src/gui/transferlistsortmodel.cpp

2
src/gui/transferlistsortmodel.cpp

@ -158,7 +158,7 @@ bool TransferListSortModel::lessThan(const QModelIndex &left, const QModelIndex @@ -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;

Loading…
Cancel
Save