Fix Transfer list sorting

This commit is contained in:
Vladimir Golovnev (Glassez) 2020-01-11 18:19:48 +03:00
parent a124decdc5
commit 118debd6bf
No known key found for this signature in database
GPG Key ID: 52A2C7DEE2DFA6F7

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);