GameList: sort case-insensitively

This commit is contained in:
Michael Maltese 2017-05-27 18:58:27 -07:00
parent 051cbf1962
commit 8bbc31e0a2
1 changed files with 1 additions and 0 deletions

View File

@ -30,6 +30,7 @@ GameList::GameList(QWidget* parent) : QStackedWidget(parent)
{
m_model = new GameListModel(this);
m_table_proxy = new QSortFilterProxyModel(this);
m_table_proxy->setSortCaseSensitivity(Qt::CaseInsensitive);
m_table_proxy->setSourceModel(m_model);
m_list_proxy = new ListProxyModel(this);
m_list_proxy->setSourceModel(m_model);