Merge pull request #2291 from JosJuice/qt-sort-ascending-title

DolphinQt: Sort game list by ascending title order by default
This commit is contained in:
Lioncash 2015-04-13 02:36:31 -04:00
commit c36a6b7599
1 changed files with 1 additions and 1 deletions

View File

@ -23,7 +23,7 @@ DGameTree::DGameTree(QWidget* parent_widget) :
SetViewStyle(STYLE_TREE); SetViewStyle(STYLE_TREE);
setIconSize(QSize(BANNER_WIDTH, BANNER_HEIGHT)); setIconSize(QSize(BANNER_WIDTH, BANNER_HEIGHT));
sortByColumn(COL_TITLE); sortByColumn(COL_TITLE, Qt::AscendingOrder);
connect(this, SIGNAL(itemActivated(QTreeWidgetItem*, int)), this, SLOT(ItemActivated(QTreeWidgetItem*))); connect(this, SIGNAL(itemActivated(QTreeWidgetItem*, int)), this, SLOT(ItemActivated(QTreeWidgetItem*)));
} }