mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-08-13 01:57:07 -07:00
Case insensitive sort in Peers list. Closes #1066.
This commit is contained in:
parent
c41082f610
commit
d68b0c529b
1 changed files with 1 additions and 0 deletions
|
@ -75,6 +75,7 @@ PeerListWidget::PeerListWidget(PropertiesWidget *parent):
|
||||||
m_proxyModel = new PeerListSortModel();
|
m_proxyModel = new PeerListSortModel();
|
||||||
m_proxyModel->setDynamicSortFilter(true);
|
m_proxyModel->setDynamicSortFilter(true);
|
||||||
m_proxyModel->setSourceModel(m_listModel);
|
m_proxyModel->setSourceModel(m_listModel);
|
||||||
|
m_proxyModel->setSortCaseSensitivity(Qt::CaseInsensitive);
|
||||||
setModel(m_proxyModel);
|
setModel(m_proxyModel);
|
||||||
//Explicitly set the column visibility. When columns are added/removed
|
//Explicitly set the column visibility. When columns are added/removed
|
||||||
//between versions this prevents some of them being hidden due to
|
//between versions this prevents some of them being hidden due to
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue