1
0
mirror of https://github.com/d47081/qBittorrent.git synced 2025-01-10 14:57:52 +00:00

Merge pull request #11864 from glassez/fix-sorting

Fix Transfer list sorting
This commit is contained in:
Vladimir Golovnev 2020-01-12 11:05:20 +03:00 committed by GitHub
commit 101ab3cf6c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -141,6 +141,7 @@ TransferListWidget::TransferListWidget(QWidget *parent, MainWindow *mainWindow)
m_sortFilterModel->setFilterKeyColumn(TransferListModel::TR_NAME);
m_sortFilterModel->setFilterRole(Qt::DisplayRole);
m_sortFilterModel->setSortCaseSensitivity(Qt::CaseInsensitive);
m_sortFilterModel->setSortRole(TransferListModel::UnderlyingDataRole);
setModel(m_sortFilterModel);