Commit a995a803 authored by Nate Graham's avatar Nate Graham
Browse files

Sort services list alphabetically

BUG: 419938
FIXED-IN: 20.04.0
parent 8de24d58
...@@ -68,6 +68,7 @@ ServicesSettingsPage::ServicesSettingsPage(QWidget* parent) : ...@@ -68,6 +68,7 @@ ServicesSettingsPage::ServicesSettingsPage(QWidget* parent) :
m_sortModel = new QSortFilterProxyModel(this); m_sortModel = new QSortFilterProxyModel(this);
m_sortModel->setSourceModel(m_serviceModel); m_sortModel->setSourceModel(m_serviceModel);
m_sortModel->setSortRole(Qt::DisplayRole); m_sortModel->setSortRole(Qt::DisplayRole);
m_sortModel->setSortLocaleAware(true);
m_listView->setModel(m_sortModel); m_listView->setModel(m_sortModel);
m_listView->setItemDelegate(delegate); m_listView->setItemDelegate(delegate);
m_listView->setVerticalScrollMode(QListView::ScrollPerPixel); m_listView->setVerticalScrollMode(QListView::ScrollPerPixel);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment