Browse Source

Case insensitive sort in Peers list. Closes #1066.

adaptive-webui-19844
sledgehammer999 11 years ago
parent
commit
c284fd5412
  1. 1
      src/properties/peerlistwidget.cpp

1
src/properties/peerlistwidget.cpp

@ -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…
Cancel
Save