mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2025-01-12 18:24:58 +08:00
Use case-insensitive sort for Name column in Search tab. Closes #407.
This commit is contained in:
parent
1376d8fa7b
commit
4669a99617
@ -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