mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2025-01-12 18:24:58 +08:00
Merge pull request #6283 from Chocobo1/sort
Use case-insensitive sort for Name column in Search tab. Closes #407.
This commit is contained in:
commit
eb3f4b8490
@ -112,7 +112,7 @@ bool SearchSortModel::lessThan(const QModelIndex &left, const QModelIndex &right
|
|||||||
case ENGINE_URL: {
|
case ENGINE_URL: {
|
||||||
QString vL = left.data().toString();
|
QString vL = left.data().toString();
|
||||||
QString vR = right.data().toString();
|
QString vR = right.data().toString();
|
||||||
return Utils::String::naturalCompareCaseSensitive(vL, vR);
|
return Utils::String::naturalCompareCaseInsensitive(vL, vR);
|
||||||
}
|
}
|
||||||
|
|
||||||
default:
|
default:
|
||||||
|
Loading…
Reference in New Issue
Block a user