mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2024-12-15 12:41:36 +03: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
1 changed files with 1 additions and 0 deletions
|
@ -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…
Reference in a new issue