mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-07-31 03:50:20 -07:00
Sort torrent names case insensitively
This commit is contained in:
parent
07f141af2e
commit
81ec2e60a9
1 changed files with 1 additions and 1 deletions
|
@ -80,7 +80,7 @@ bool TransferListSortModel::lessThan(const QModelIndex &left, const QModelIndex
|
||||||
if (!vL.isValid() || !vR.isValid() || (vL == vR))
|
if (!vL.isValid() || !vR.isValid() || (vL == vR))
|
||||||
return lowerPositionThan(left, right);
|
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:
|
case TorrentModel::TR_ADD_DATE:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue