mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2025-12-17 14:08:03 -06:00
Use case-insensitive sort for Name column in Search tab. Closes #407.
This commit is contained in:
committed by
sledgehammer999
parent
cf16e3b8a1
commit
0604d3729a
@@ -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:
|
||||||
|
|||||||
Reference in New Issue
Block a user