mirror of
https://github.com/d47081/qBittorrent.git
synced 2025-01-22 20:44:15 +00:00
Set "category" column as case-insensitive in TransferListSortModel.
(From what I can tell, it would appear that the sorting was already case-insensitive by default. This makes it explicit.)
This commit is contained in:
parent
ec08cb5445
commit
f53a403a7b
@ -74,6 +74,7 @@ void TransferListSortModel::disableTrackerFilter()
|
||||
bool TransferListSortModel::lessThan(const QModelIndex &left, const QModelIndex &right) const
|
||||
{
|
||||
switch (sortColumn()) {
|
||||
case TorrentModel::TR_CATEGORY:
|
||||
case TorrentModel::TR_NAME: {
|
||||
QVariant vL = left.data();
|
||||
QVariant vR = right.data();
|
||||
|
Loading…
x
Reference in New Issue
Block a user