Browse Source

Merge pull request #5858 from yezezey/case_insensitive

Sort torrent names case insensitively
adaptive-webui-19844
sledgehammer999 8 years ago committed by GitHub
parent
commit
9b760a8fa0
  1. 2
      src/gui/transferlistsortmodel.cpp

2
src/gui/transferlistsortmodel.cpp

@ -80,7 +80,7 @@ bool TransferListSortModel::lessThan(const QModelIndex &left, const QModelIndex @@ -80,7 +80,7 @@ bool TransferListSortModel::lessThan(const QModelIndex &left, const QModelIndex
if (!vL.isValid() || !vR.isValid() || (vL == vR))
return lowerPositionThan(left, right);
return Utils::String::naturalCompareCaseSensitive(vL.toString(), vR.toString());
return Utils::String::naturalCompareCaseInsensitive(vL.toString(), vR.toString());
}
case TorrentModel::TR_ADD_DATE:

Loading…
Cancel
Save