mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2025-12-17 14:08:03 -06:00
Use case-insensitive comparsion for torrent content window.
Closes #6327
This commit is contained in:
committed by
sledgehammer999
parent
f577a26fe2
commit
4a23e7da37
@@ -90,7 +90,7 @@ bool TorrentContentFilterModel::lessThan(const QModelIndex &left, const QModelIn
|
||||
TorrentContentModelItem::ItemType rightType = m_model->itemType(m_model->index(right.row(), 0, right.parent()));
|
||||
|
||||
if (leftType == rightType)
|
||||
return Utils::String::naturalCompareCaseSensitive(vL, vR);
|
||||
return Utils::String::naturalCompareCaseInsensitive(vL, vR);
|
||||
else if (leftType == TorrentContentModelItem::FolderType && sortOrder() == Qt::AscendingOrder)
|
||||
return true;
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user