1
0
mirror of https://github.com/d47081/qBittorrent.git synced 2025-02-03 02:14:16 +00:00

Case insensitive sort in Peers list. Closes #1066.

This commit is contained in:
sledgehammer999 2013-11-09 20:01:12 +02:00
parent 0b41e3958e
commit c284fd5412

View File

@ -75,6 +75,7 @@ PeerListWidget::PeerListWidget(PropertiesWidget *parent):
m_proxyModel = new PeerListSortModel();
m_proxyModel->setDynamicSortFilter(true);
m_proxyModel->setSourceModel(m_listModel);
m_proxyModel->setSortCaseSensitivity(Qt::CaseInsensitive);
setModel(m_proxyModel);
//Explicitly set the column visibility. When columns are added/removed
//between versions this prevents some of them being hidden due to