GameList: sort case-insensitively
This commit is contained in:
parent
051cbf1962
commit
8bbc31e0a2
|
@ -30,6 +30,7 @@ GameList::GameList(QWidget* parent) : QStackedWidget(parent)
|
||||||
{
|
{
|
||||||
m_model = new GameListModel(this);
|
m_model = new GameListModel(this);
|
||||||
m_table_proxy = new QSortFilterProxyModel(this);
|
m_table_proxy = new QSortFilterProxyModel(this);
|
||||||
|
m_table_proxy->setSortCaseSensitivity(Qt::CaseInsensitive);
|
||||||
m_table_proxy->setSourceModel(m_model);
|
m_table_proxy->setSourceModel(m_model);
|
||||||
m_list_proxy = new ListProxyModel(this);
|
m_list_proxy = new ListProxyModel(this);
|
||||||
m_list_proxy->setSourceModel(m_model);
|
m_list_proxy->setSourceModel(m_model);
|
||||||
|
|
Loading…
Reference in New Issue