From f53a403a7bcbb283d7f482c9086664104efd540d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20Bri=C3=A8re?= Date: Fri, 28 Apr 2017 18:46:50 -0400 Subject: [PATCH] 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.) --- src/gui/transferlistsortmodel.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/gui/transferlistsortmodel.cpp b/src/gui/transferlistsortmodel.cpp index 423742979..4fedf7787 100644 --- a/src/gui/transferlistsortmodel.cpp +++ b/src/gui/transferlistsortmodel.cpp @@ -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();